BINARY2
BINARY2 is a binary data encoding standard designed for compact, reliable representation of binary payloads in digital communication and storage systems. It is presented as the successor to an earlier format known as BINARY1 and aims to improve efficiency for small-to-medium payloads while preserving straightforward parsing and error detection.
Frame structure: Each encoded message consists of a two-byte header followed by a payload and a two-byte
Encoding rules: The payload is generated by grouping the input bitstream into bytes, with optional run-length
Implementation and usage: Reference implementations exist for C, Python, and Rust, and are used in some embedded
Relation to other formats: It is positioned as a middle-ground between raw binary transfer and more aggressive