HxIDataChunk(HxStream *pSource)
Read a chunk header at a stream's read position and open that chunk.
~HxIDataChunk() override
Unlock the reader, if any, and free the header.
int GetMarker() override
Report the read position within the payload.
HxIDataChunk(HxIListChunk *pReader)
Open the current chunk of a reader, and lock the reader.
HxStream & ReadData(void *pDest, int nSize) override
Move up to nSize bytes of the payload into pDest.
HxStream * UnderlyingStream() override
Report the stream the payload lies in.
int Size() override
Report the payload size from the chunk header.
void SetMarker(int nOffset, int nWhence) override
Move the read position within the payload.
Cursor over the chunks inside one RIFF list or Standard MIDI File.
Definition hxilistchunk.h:19
HxStream()
Construct a stream with a zeroed state.