2.2.2.2 CommonHeader Structure
The CommonHeader structure is used by all structures to identify the type and length of the structure encoded in the message payload.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Id |
Length |
Id (1 byte): The Id field specifies the type of the structure encoded in the message, as specified in TypeId enumeration (section 2.2.1.3).
Length (2 bytes): The Length field specifies the number of bytes that follow the CommonHeader which correspond to the length of the encoded structure. Note that the structure is encoded in network byte order.