1#ifndef __JIO__JFILEIO__
2#define __JIO__JFILEIO__
15namespace JPP {
using namespace JIO; }
58 virtual int read(
char* buffer,
const int length)
override
60 return in.
read(buffer, length);
104 virtual int write(
const char* buffer,
const int length)
override
Binary input based on a file descriptor.
virtual int read(char *buffer, const int length) override
Read byte array.
virtual bool getStatus() const override
Status of reader.
JFileReader(const JFile &file)
Constructor.
Binary output based on a file descriptor.
virtual int write(const char *buffer, const int length) override
Write byte array.
virtual bool getStatus() const override
Status of writer.
JFileWriter(const JFile &file)
Constructor.
Interface for binary input.
Interface for binary output.
The JFile class extends the JAbstractFile class.
virtual bool good() const
Check status.
virtual int write(const char *buffer, const int length)
Write data to file.
virtual int read(char *buffer, const int length)
Read data from file.
Auxiliary classes and methods for binary I/O.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).