Packer::GetStringSize
Defined in: C4Packing.h
Returns the serialized size of a string.
Prototype
template <long len> static unsigned long GetStringSize(const String<len>& string);
Description
The GetStringSize function returns the size of the data that would be written to the output stream to serialize a string. This is the number of bytes written to the stream by the << operator applied to the same string that is specified by the string parameter.
|