Packer::EndSection
Defined in:
Ends measuring the size of a section of the output stream.
C4Packing.h
Prototype
void EndSection(PackHandle handle);
Parameters
handle |
A handle that was returned by a previous call to the Packer::BeginSection function.
|
Description
The EndSection
function causes the size of the data packed since the corresponding call to the Packer::BeginSection
function (the one that returned the handle
parameter) to be written at the location reserved when the BeginSection
function was called.
IMPORTANT. In order to maintain four-byte alignment in the output stream, the number of bytes written between calls to the
BeginSection
and EndSection
function must be a multiple of four.
See Also