76 virtual int Eof() = 0;
Input half of the byte stream interface.
Definition ibstream.h:36
virtual IBStream & Read(void *pDest, int nSize)=0
Move nSize bytes into pDest.
virtual int Tell()=0
Report the read position.
virtual IBStream & Seek(int nOffset, int nWhence)=0
Move the read position.
virtual IBStream & Flush()=0
Service the underlying transport.
virtual IBStream & ReadLE(void *pDest, int nSize)
Move nSize bytes into pDest through the virtual Read().
virtual int Eof()=0
Test whether the read position has arrived at the end of the data.
virtual ~IBStream()
Close the stream.
Definition ibstream.h:120
virtual int Fail()=0
Test whether a transfer has failed.
StreamSeekOrigin
Origin an IBStream::Seek() offset is measured from.
Definition ibstream.h:10
@ kStreamSeekEnd
Definition ibstream.h:13
@ kStreamSeekSet
Definition ibstream.h:11
@ kStreamSeekCur
Definition ibstream.h:12
IBStream & operator>>(IBStream &stream, int &bValue)
Read a truth value from one byte.