Packer::WriteArray
Defined in:
Writes an array of objects to the output stream.
C4Packing.h
Prototype
template <typename type> void WriteArray(int32 count, const type *array);
Template Parameters
type |
The type of the objects in the array. |
Parameters
count |
The number of objects to write. |
Description
The WriteArray
function writes count
objects of the type given by the type
template parameter to the output stream, reading them from memory starting at the pointer specified by the array
parameter.The quantity
count * sizeof(type)
must be a multiple of four bytes.
See Also