Unpacker::ReadArray
Defined in:
Reads an array of objects from the input stream.
C4Packing.hPrototype
template <typename type> void ReadArray(int32 count, type *array);
Template Parameters
type |
The type of the objects in the array. |
Parameters
count |
The number of objects to read. |
Description
The ReadArray function reads count objects 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.The quantity
count * sizeof(type) must be a multiple of four bytes.
See Also
