Defined in:Ends measuring the size of a chunk in the output stream.
void EndChunk(PackHandle handle);
||A handle that was returned by a previous call to the |
EndChunkfunction causes the size of the data packed since the corresponding call to the
Packer::BeginChunkfunction (the one that returned the
handleparameter) to be written at the location reserved after the chunk type when the
BeginChunkfunction was called.
IMPORTANT. In order to maintain four-byte alignment in the output stream, the number of bytes written between calls to the
EndChunkfunction must be a multiple of four.