The optional format, used for marshaling optional fields and arguments.
It describes how the data is marshaled and how it can be skipped by the unmarshaling code when the tag isn't known to the receiver.
Enumerator |
---|
F1 | Fixed 1-byte encoding.
|
F2 | Fixed 2-byte encoding.
|
F4 | Fixed 4-byte encoding.
|
F8 | Fixed 8-byte encoding.
|
Size | "Size encoding" using 1 to 5 bytes, e.g., enum, class identifier.
|
VSize | "Size encoding" using 1 to 5 bytes followed by data, e.g., string, fixed size struct, or containers whose size can be computed prior to marshaling.
|
FSize | Fixed size using 4 bytes followed by data, e.g., variable-size struct, container.
|
Class | Class instance. Not longer supported.
|
Definition at line 57 of file StreamableTraits.h.