mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2026-05-18 22:28:29 +02:00
We need some sort of length field to be able to know how long the next message is. But for simplicity, we might as well just write that explicitly on the wire instead of wrapping our messages into yet another message. This makes the wire format slightly simpler since the first 4 bytes are now always the length, without the previous 0x0d prefix caused by the protobuf encoding. 0x0d == (field number << 3) | wire_type == 1 << 3 | 5 (see https://protobuf.dev/programming-guides/encoding/#structure) |
||
|---|---|---|
| .. | ||
| ei.proto | ||
| meson.build | ||