C4 Engine Terathon Software C4 Engine API Documentation

• Resource Manager

API Links
Developer Links

Unpacker::ReadArray

Defined in:  C4Packing.h
Reads an array of data from the input stream.
Prototype

template <typename type> void ReadArray(int32 count, type *array);

Description
The ReadArray function reads count items of the type given by the type template parameter from the input stream, writing them to memory starting at the pointer specified by the array parameter.