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.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

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).