SerializerFlags
Description
Flags for controlling the binary layout that used by ISerializer objects.
The documentation of the individual flags describes how the binary layout changes for the methods that write values. Although not mentioned explicitly, the same changes apply to the corresponding read methods.
- See also
Public / Constants
UseVarIntForLength
Use IBinaryWriter.WriteVarInt32 when writing length values with ISerializer.WriteLength, instead of IBinaryWriter.WriteInt32?
UseUnsignedLength
If UseVarIntForLength is present, use IBinaryWriter.WriteVarUInt32 instead of IBinaryWriter.WriteVarInt32, when writing length values with ISerializer.WriteLength?
UseUtf8ForString
Shall the ISerializer.WriteString method write a length-prefixed sequence of UTF-8 code units, instead of a length-prefixed sequence of UTF-16 code units (or ISO-8859-1 code units, if possible)?
UsePlainObjectGuids
Shall the ISerializer.WriteObject method emit GUID values in plain text form (36 bytes), instead of GUID.First and GUID.Second (16 bytes).
UseVarIntForValues
Use IBinaryWriter.WriteVarInt32 when writing integral values with IBinaryWriter.WriteInt8, IBinaryWriter.WriteInt16, IBinaryWriter.WriteInt32 and IBinaryWriter.WriteVarInt64 when writing integral values with IBinaryWriter.WriteInt64?
UseUnsignedValues
If UseVarIntForValues is present, use IBinaryWriter.WriteVarUInt32 and IBinaryWriter.WriteVarUInt64 instead of their signed counterparts, when writing integral values?