bencode inspired tight self describing serialization format
bendncode
a compact self-describing binary format, similar to CBOR or bencode. this should work with most serde attributes, unlike postcard or other non self-describing crates.
an example:
{
"hi": [1, "string"]
}
bendncodes to
m 01 // map of length 1
s 02 // keyed with a string of length 2
hi // "hi"
l 02 // value of list of two elements
u 01 // an uinteger of one
s 06 // string(6) of "string"
string