Skip to content
Extensible binary data format, like JSON but faster https://mjambon.github.io/atdgen-doc
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.
META.in generate cmxs
Makefile Fix CMI file list in Makefile.
README.md Link to biniou-format.txt (new location)
bdump.ml Fixed bug in Bi_dump.load (was adding invalid newlines), which allows
bi_dump.ml Fixed bug in Bi_dump.load (was adding invalid newlines), which allows
bi_inbuf.ml
bi_inbuf.mli Source reformatting
bi_io.ml completed write_untagged_float32 and read_untagged_float32
bi_io.mli each *float64* thing gave birth to a *float32* equivalent
bi_outbuf.ml Source reformatting
bi_outbuf.mli Source reformatting
bi_share.ml Source reformatting
bi_share.mli Source reformatting
bi_stream.ml Fix input_int64 for 32-bit platforms
bi_stream.mli Fix streaming (Bi_stream), which was not working on 32-bit platforms.
bi_util.ml Source reformatting
bi_util.mli Source reformatting
bi_vint.ml Source reformatting
bi_vint.mli Source reformatting
biniou-format.txt added float32 to the specification
test_biniou.ml Source reformatting

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

Something went wrong with that request. Please try again.