![]() |
• Resource Manager | ||||||||||||
|
API Links
Developer Links
|
class PackerDefined in:
Represents an output serialization stream.
C4Packing.hDefinition
Member Functions
Constructor
Parameters
Description
A Packer object is passed to the Packable::Pack function when the engine needs to serialize data stored in an object. The Packer object encapsulates an output serialization stream, and the << operator is typically used to write data to it.
Overloaded Operators
Description
In order to maintain four-byte alignment, char and short types should not be serialized directly with the << operator. Instead, such values should first be cast to a 32-bit type. Note that the bool type is given special handling by the << operator so that it always occupies four bytes.
See Also
Unpacker
Packable
|