92 std::vector<char> mBuffer;
virtual Stream & Seek(int nOffset, int nWhence)
void Compact()
Drop the bytes already read from the front of the buffer and rewind the cursor.
virtual Stream & Write(const void *pSrc, int nSize)
virtual Stream & Read(void *pDest, int nSize)
MemStream()
Construct an empty stream with kMemStreamReserve bytes reserved.
Byte stream that every renderer object serialises itself through.
Definition stream.h:31
The rendering engine.
Definition animhelper.h:3
constexpr int kMemStreamReserve
Bytes the constructor reserves before the first write.
Definition memstream.h:10