19:29This room is for the discussion of a binary protocol. The goal is an interface and specification for dealing with binary data. e.g.
- https://github.com/rosejn/byte-spec
- https://kaitai.io/
It needs to allow control at the bit level and consider endianness and signedness of numbers, so it can be used by higher level protocols like ProtoBuf, ASN.1, MsgPack, BSON, etc.
There are a lot of design issues to address. e.g. Red doesn't have a
struct! type yet, and those would still only deal with values down the byte level. Unsigned and 64-bit ints also don't exist in Red. Step one, I think, is to map a spec to a
binary!, providing a way to address values in a convenient way.
https://github.com/red/REP/issues/87 has a few other notes and thoughts.