22 #ifndef BACKENDS_FS_STDIOSTREAM_H 23 #define BACKENDS_FS_STDIOSTREAM_H 25 #include "common/scummsys.h" 26 #include "common/noncopyable.h" 27 #include "common/stream.h" 28 #include "common/str.h" 45 bool err()
const override;
47 bool eos()
const override;
49 uint32
write(
const void *dataPtr, uint32 dataSize)
override;
50 bool flush()
override;
52 int64
pos()
const override;
53 int64
size()
const override;
54 bool seek(int64 offs,
int whence = SEEK_SET)
override;
55 uint32
read(
void *dataPtr, uint32 dataSize)
override;
int64 pos() const override
uint32 read(void *dataPtr, uint32 dataSize) override
bool seek(int64 offs, int whence=SEEK_SET) override
bool err() const override
Definition: noncopyable.h:39
static StdioStream * makeFromPath(const Common::String &path, bool writeMode)
bool eos() const override
Definition: stdiostream.h:30
void * _handle
Definition: stdiostream.h:33
bool setBufferSize(uint32 bufferSize)
uint32 write(const void *dataPtr, uint32 dataSize) override
int64 size() const override