boolean1 byteWritten as one byte: 0 for false and 1 for true. Readers accept any nonzero byte as true.
trueFirst byte on left0000 00010x01Protocol version 2192
The fundamental wire values used to serialize packet fields.
boolean1 byteWritten as one byte: 0 for false and 1 for true. Readers accept any nonzero byte as true.
trueFirst byte on left0000 00010x01int81 byteRaw two's-complement signed integer bytes.
-42First byte on left1101 01100xD6int162 bytesRaw two's-complement signed integer bytes in native byte order.
-42First byte on left1101 01100xD61111 11110xFFint324 bytesRaw two's-complement signed integer bytes in native byte order. Big Endian reverses the byte order.
-42First byte on left1101 01100xD61111 11110xFF1111 11110xFF1111 11110xFFint648 bytesRaw two's-complement signed integer bytes in native byte order.
-42First byte on left1101 01100xD61111 11110xFF1111 11110xFF1111 11110xFF1111 11110xFF1111 11110xFF1111 11110xFF1111 11110xFFvarint321-5 bytesZigZag-encoded, then written as base-128 groups with the high bit indicating continuation.
64First byte on left1000 00000x800000 00010x01varint641-10 bytesZigZag-encoded, then written as base-128 groups with the high bit indicating continuation.
64First byte on left1000 00000x800000 00010x01uint81 byteRaw unsigned integer bytes.
42First byte on left0010 10100x2Auint162 bytesRaw unsigned integer bytes in native byte order.
300First byte on left0010 11000x2C0000 00010x01uint324 bytesRaw unsigned integer bytes in native byte order.
300First byte on left0010 11000x2C0000 00010x010000 00000x000000 00000x00uint648 bytesRaw unsigned integer bytes in native byte order.
300First byte on left0010 11000x2C0000 00010x010000 00000x000000 00000x000000 00000x000000 00000x000000 00000x000000 00000x00varuint321-5 bytesWritten as base-128 groups with the high bit indicating that another byte follows.
255First byte on left1111 11110xFF0000 00010x01varuint641-10 bytesWritten as base-128 groups with the high bit indicating that another byte follows.
255First byte on left1111 11110xFF0000 00010x01float4 bytesRaw 4-byte floating-point representation in native byte order.
3.5fFirst byte on left0000 00000x000000 00000x000110 00000x600100 00000x40double8 bytesRaw 8-byte floating-point representation in native byte order.
3.5First byte on left0000 00000x000000 00000x000000 00000x000000 00000x000000 00000x000000 00000x000000 11000x0C0100 00000x40stringVariableRaw string bytes prefixed by their byte length as a varuint32. The stream does not transcode or validate the byte encoding.
"Hi"First byte on left0000 00100x020100 10000x480110 10010x69