93 virtual int Eof() = 0;
Heap-allocated NUL-terminated string.
Definition hxstr.h:41
Byte stream that every renderer object serialises itself through.
Definition stream.h:31
virtual int Eof()=0
Test whether the position has arrived at the end.
virtual Stream & WriteLE(const void *pSrc, int nSize)
Move nSize bytes out of pSrc, correcting the byte order for the file.
virtual Stream & Write(const void *pSrc, int nSize)=0
Move nSize bytes out of pSrc with no conversion.
virtual Stream & Flush()=0
Service the underlying transport.
virtual Stream & Seek(int nOffset, int nWhence)=0
Move the read and write position.
virtual Stream & Read(void *pDest, int nSize)=0
Move nSize bytes into pDest with no conversion.
virtual int Fail()=0
Test whether a transfer has failed.
virtual ~Stream()
Close the stream.
Stream & ReadString(HxStr &name)
Read a NUL-terminated name and append it to a string.
virtual int Tell()=0
Report the current position.
virtual Stream & ReadLE(void *pDest, int nSize)
Move nSize bytes into pDest, correcting the byte order for the host.
The rendering engine.
Definition animhelper.h:3
SeekOrigin
Origin a Stream::Seek() offset is measured from.
Definition stream.h:10
@ kSeekSet
Definition stream.h:10
@ kSeekEnd
Definition stream.h:10
@ kSeekCur
Definition stream.h:10