2.2.7.2 Private Header
In type serialization version 2, the private header MUST precede all top-level data types in the octet stream.
The private type header MUST be aligned on a 16-byte boundary. If the length of the serialized top-level data type in the octet stream is not a multiple of 16 octets, the data must be padded at the end to ensure that its total length is an integral multiple of 16 octets in length.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ObjectBufferLength |
|||||||||||||||||||||||||||||||
Filler |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
ObjectBufferLength (4 bytes): Indicates the length of a serialized top-level data type in the octet stream. It MUST include the padding length and exclude the header itself.
Filler (12 bytes): Reserved field. MUST be set to 0 (zero).