RenderWare V2.1

Previous Page Index Next Page

RwBool

RwReadStreamChunkType(RwStream *stream, RwUInt32 *type);

Description

Reads a chunk 'type' from a stream.

Arguments

stream Stream to be read from

type Pointer to place to store type

Return value

TRUE on success, FALSE otherwise.

Comments

After a successful type read it is necessary to either read or skip the chunk. Performing another RwReadStreamChunkType() will not return a valid chunk type.

See Also

RwReadStreamChunk()

RwWriteStreamChunk()

RwSkipStreamChunk()

RwGetChunkSize()

RwFindStreamChunk()