Skip to content
Extensible binary data format, like JSON but faster
OCaml Makefile
Find file
Latest commit ea2f6cf @mjambon Merge pull request #12 from kazbanov/master
Fix CMI file list in Makefile.
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. generate cmxs
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 Fixed bug in Bi_dump.load (was adding invalid newlines), which allows
bi_inbuf.mli Source reformatting completed write_untagged_float32 and read_untagged_float32
bi_io.mli each *float64* thing gave birth to a *float32* equivalent Source reformatting
bi_outbuf.mli Source reformatting 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 Source reformatting


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.