C4 Engine
C4 Engine API Documentation

struct ChunkHeader

Defined in:  C4Packing.h
The ChunkHeader structure contains information about a data chunk.
Definition

struct ChunkHeader

Constructor

ChunkHeader();

ChunkHeader(uint32 type, uint32 size);

Parameters
type The type identifier for the chunk. This should not be 0.
size The size of the chunk's data, in bytes. This size must be a multiple of four, and it does not include the chunk header.
Data Members
uint32      chunkType; The type of the data chunk.
uint32      chunkSize; The size of the data chunk, in bytes.
See Also

Packer::BeginChunk

Packer::EndChunk