51 virtual FXbool open(FXuchar* ptr,FXuval sz);
54 FXuchar*
data()
const {
return buffer; }
57 virtual FXbool isOpen()
const;
60 virtual FXbool isSerial()
const;
63 virtual FXlong position()
const;
66 virtual FXlong position(FXlong offset,FXuint from=FXIO::Begin);
69 virtual FXival readBlock(
void* ptr,FXival count);
72 virtual FXival writeBlock(
const void* ptr,FXival count);
75 virtual FXlong truncate(FXlong sz);
78 virtual FXbool flush();
84 virtual FXlong size();
87 virtual FXbool close();
IOBuffer provides a file-interface to a memory-buffer of a given size.
Definition: FXIOBuffer.h:34
FXuchar * data() const
Obtain pointer to buffer.
Definition: FXIOBuffer.h:54
Definition: FX4Splitter.h:28
FXIO is a base class for a generic i/o device.
Definition: FXIO.h:33