Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Extensible binary data format, like JSON but faster
OCaml Makefile
branch: master

Merge pull request #12 from kazbanov/master

Fix CMI file list in Makefile.
latest commit ea2f6cfa3f
@mjambon authored
Failed to load latest commit information.
.gitignore gitignore
Changes Support for flushing output to abstract OO channels
INSTALL Source reformatting
LICENSE Imported code from private repository.
Makefile Fix CMI file list in Makefile. Link to biniou-format.txt (new location) Fixed bug in Bi_dump.load (was adding invalid newlines), which allows Source reformatting
bi_inbuf.mli Source reformatting
bi_io.mli each *float64* thing gave birth to a *float32* equivalent Source reformatting
bi_outbuf.mli Source reformatting
bi_share.mli Source reformatting Fix input_int64 for 32-bit platforms
bi_stream.mli Fix streaming (Bi_stream), which was not working on 32-bit platforms. Source reformatting
bi_util.mli Source reformatting Source reformatting
bi_vint.mli Source reformatting
biniou-format.txt added float32 to the specification


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:

Something went wrong with that request. Please try again.