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 if the optional 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 either 1 or 5 bytes. Used by enums, class identifiers, etc.
|
| VSize | Variable "size encoding" using either 1 or 5 bytes followed by data.
Used by strings, fixed size structs, and containers whose size can be computed prior to marshaling.
|
| FSize | Fixed "size encoding" using 4 bytes followed by data.
Used by variable-size structs, and containers whose sizes can't be computed prior to unmarshaling.
|
| Class | Class instance. No longer supported.
|
Definition at line 57 of file StreamableTraits.h.