Roughtime Message Format (TLV)
masterMessages are encoded using a Tag-Length-Value (TLV) structure. All integers are little-endian.
Header Structure
- Count: A
uint32representing the number of pairs ($N$). - Offsets: An array of $N-1$
uint32values. - Tags: An array of $N$
uint32values.
Encoding Rules
- Tags: Must be sorted numerically.
- Offsets: Must be multiples of 4 and must be increasing.
- Values: The values section follows the header at the specified offsets.