1 2 3 4 5 6 7 8 9 10 11 12 13
"Binary Application Record Encoding (BARE) is a simple binary representation for
structured application data" - https://baremessages.org
This is an implementation in D.
Features:
* Interops with existing D types like Nullable and Algebraic.
* Reads/writes all BARE types that have a direct analogue in D.
Todo:
* Template that takes a schema and produces a type storing it along with
specialised read/write methods for it.
* Unit tests to make sure my horrible code actually works consistently.