biniouversion

Binary data format designed for speed, safety, ease of use and backward compatibility as protocols evolve

Biniou (pronounced "be new") is a binary data format designed for speed, safety, ease of use and backward compatibility as protocols evolve. Biniou is vastly equivalent to JSON in terms of functionality but allows implementations several times faster (4 times faster than yojson), with 25-35% space savings.

Biniou data can be decoded into human-readable form without knowledge of type definitions except for field and variant names which are represented by 31-bit hashes. A program named bdump is provided for routine visualization of biniou data files.

The program atdgen is used to derive OCaml-Biniou serializers and deserializers from type definitions.

Biniou format specification: mjambon.github.io/atdgen-doc/biniou-format.txt

AuthorMartin Jambon
LicenseBSD-3-Clause
Published
Homepagehttps://github.com/mjambon/biniou
Issue Trackerhttps://github.com/mjambon/biniou/issues
Maintainermartin@mjambon.com
Dependencies
Source [http] https://github.com/mjambon/biniou/releases/download/1.2.1/biniou-1.2.1.tbz
sha256=35546c68b1929a8e6d27a3b39ecd17b38303a0d47e65eb9d1480c2061ea84335
sha512=82670cc77bf3e869ee26e5fbe5a5affa45a22bc8b6c4bd7e85473912780e0111baca59b34a2c14feae3543ce6e239d7fddaeab24b686a65bfe642cdb91d27ebf
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/biniou/biniou.1.2.1/opam