1 #ifndef ALLOFW_STREAM_H 2 #define ALLOFW_STREAM_H 13 virtual size_t read(
void* buffer,
size_t length);
14 virtual size_t write(
const void* buffer,
size_t length);
virtual void seek(SeekOrigin origin, std::ptrdiff_t pos)
virtual std::ptrdiff_t position()
SeekOrigin
Definition: stream.h:10
static void Destroy(ByteStream *stream)
virtual size_t write(const void *buffer, size_t length)
virtual size_t read(void *buffer, size_t length)
static ByteStream * OpenFile(const char *path, const char *mode)