RwReadStreamChunkHeader(RwStream *stream);
Description
Reads the remains of the chunk header after the chunk type identifier.
Arguments
stream Stream to be read from.
Return Value
Size in bytes of the specified chunk excluding the header.
Comments
After a user chunk has been located with RwFindStreamChunk() or identified with RwReadStreamChunkType(), it is necessary for the rest of the chunk header to be read before the contents of the chunk is accessed. This is performed by this function. As it returns the number of bytes in the chunk it can also be used before skipping the chunks contents.
See Also