40#ifdef VIDEO_STANDARD_PAL
41 void ReadImpl(
void *pData,
int nBytes)
override;
43 void Read(
void *pData,
int nBytes)
override;
54#ifdef VIDEO_STANDARD_PAL
55 void WriteImpl(
const void *pData,
int nBytes)
override;
57 void Write(
const void *pData,
int nBytes)
override;
76#ifdef VIDEO_STANDARD_PAL
77 void SeekImpl(
int nOffset,
SeekType eFrom)
override;
117 std::vector<char> mBuffer;
SeekType
Origins of Seek().
Definition binstream.h:25
BinStream(bool bLittleEndian)
Construct a stream.
Definition binstream.h:38
int Tell() override
Report the position.
void Read(void *pData, int nBytes) override
Copy bytes out from the position.
void Seek(int nOffset, SeekType eFrom) override
Move the position.
bool Eof() override
Report whether the position is at the end of the bytes.
void Flush() override
Do nothing, since the bytes stay in memory.
~MemStream() override=default
Destroy the object.
bool Fail() override
Report whether a transfer failed.
void Write(const void *pData, int nBytes) override
Copy bytes in at the position, growing the buffer.
std::vector< char > & GetBuffer()
Definition memstream.h:110
MemStream(bool bLittleEndian)
Construct an empty stream with room for 4096 bytes.