RenderWare V2.1

Previous Page Index Next Page

RwBool

RwWriteStreamChunk(RwStream *stream,RwUInt32 type,
void *data,RwUInt32 flags);

Description

Writes a chunk to the specified stream

Arguments

stream Stream to write to.

type Type of chunk to write.

data Chunk type dependent parameter.

flags Chunk type dependent parameter.

Return Value

TRUE on success, FALSE otherwise.

Comments

This function will only work on 'write' or 'append' streams. The chunk type specified must be one of the RenderWare supported chunk types. See the chapter on 'binary file format' for more details of the supported chunk types.

See Also

RwReadStreamChunkType()

RwReadStreamChunk()

RwSkipStreamChunk()

RwGetChunkSize()

RwFindStreamChunk()