Extensible binary data format, like JSON but faster
OCaml Makefile
Latest commit 633f285 Jul 5, 2016 @mjambon Version 1.0.12
Failed to load latest commit information.
.gitignore gitignore Apr 20, 2016
Changes Support for flushing output to abstract OO channels Mar 19, 2012
INSTALL
LICENSE Imported code from private repository. Feb 3, 2010
META.in generate cmxs Aug 6, 2013
Makefile Version 1.0.12 Jul 5, 2016
README.md Link to biniou-format.txt (new location) Dec 14, 2014
bdump.ml Fixed bug in Bi_dump.load (was adding invalid newlines), which allows Aug 28, 2012
bi_dump.ml Fixed bug in Bi_dump.load (was adding invalid newlines), which allows Aug 28, 2012
bi_inbuf.ml Source reformatting Sep 4, 2012
bi_inbuf.mli Source reformatting Sep 4, 2012
bi_io.ml completed write_untagged_float32 and read_untagged_float32 Mar 26, 2013
bi_io.mli each *float64* thing gave birth to a *float32* equivalent Mar 26, 2013
bi_outbuf.ml Source reformatting Sep 4, 2012
bi_outbuf.mli Source reformatting Sep 4, 2012
bi_share.ml Source reformatting Sep 4, 2012
bi_share.mli Source reformatting Sep 4, 2012
bi_stream.ml Fix input_int64 for 32-bit platforms Jun 14, 2013
bi_stream.mli
bi_util.ml Source reformatting Sep 4, 2012
bi_util.mli Source reformatting Sep 4, 2012
bi_vint.ml
bi_vint.mli
biniou-format.txt added float32 to the specification Mar 26, 2013
test_biniou.ml Source reformatting Sep 4, 2012

README.md

Biniou

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: https://mjambon.github.io/atdgen-doc/biniou-format.txt