barrel_design_dcbor (barrel_design v0.1.0)
View SourceDeterministic CBOR (RFC 8949 section 4.2.1) for what barrel_design signs or authenticates: cursor tokens and publication statements.
Definite lengths, shortest integer forms, map keys sorted by their encoded bytes. Integers must fit 64 bits; anything else is refused rather than truncated. A binary is a UTF-8 text string, {bytes, B} a byte string; null, true and false are the simple values. Decoding returns both string kinds as binaries.