The wire format describes how messages can be encoded into a stream of bytes suitable for transmission over a channel, or over another transport layer such as the network or a serial port.
Primitives are transmitted as little-endian and packed to their natural alignment. The following primitive types are recognised:
|1||A boolean value|
|1, 2, 4, 8||An unsigned integer|
|1, 2, 4, 8||A signed integer|
|4, 8||Single / double-precision IEEE-754 FP values|
|4||A single UTF-8 Unicode scalar value|