115 virtual void Fill(
const void *pSrc,
int nSize);
168 std::vector<char> mBuffer;
Input half of the byte stream interface.
Definition ibstream.h:36
virtual void Resize(int nSize)
Resize the buffer and rewind the cursor.
virtual ~IOBMemStream()
Close the stream and release the buffer.
virtual IBStream & Read(void *pDest, int nSize)
IOBMemStream(const void *pData, int nSize)
Open a stream and write an initial block into it.
IOBMemStream()
Open an empty stream.
virtual IBStream & Flush()
virtual OBStream & Reset()
virtual char * Buffer()
Report the buffer.
virtual IBStream & Seek(int nOffset, int nWhence)
void Compact()
Drop the bytes already read from the front of the buffer and rewind the cursor.
virtual int Fail()
Test whether a transfer has failed.
virtual OBStream & Write(const void *pSrc, int nSize)
virtual void Fill(const void *pSrc, int nSize)
Grow the buffer by nSize bytes and write nSize bytes at the cursor.
Bidirectional byte stream interface.
Definition iobstream.h:24
Output half of the byte stream interface.
Definition obstream.h:25