Schema reference
| Type | Size | Notes |
|---|---|---|
bool | 1 byte | 0 or 1 |
uint8 … uint64 | 1–8 bytes | little-endian |
int8 … int64 | 1–8 bytes | two's complement |
float32, float64 | 4 / 8 bytes | IEEE 754 |
string | varint length + UTF-8 | no terminator |
timestamp | 8 bytes | milliseconds since the Unix epoch, UTC |
list<T> | varint count + items | items encoded back to back |
Options
optional adds a one-bit presence flag. deprecated keeps a field readable but warns when it is written. Field order in the file is the order on the wire.