Optimised functions to read and write int16/32/64 from strings, bytes and bigarrays, based on primitives added in version 4.01.
OCaml
Latest commit 7888e89 Mar 23, 2017 @chambart chambart travis, again...
Permalink
Failed to load latest commit information.
src
tests Switch to jbuilder Mar 22, 2017
.gitignore
.travis.yml travis, again... Mar 23, 2017
CHANGES.md Switch to jbuilder Mar 22, 2017
COPYING.txt
README.md Update README.md links Apr 25, 2015
_tags Regenerate oasis files Jul 18, 2016
ocplib-endian.opam Update travis script, enable tests Mar 23, 2017

README.md

ocplib-endian

Optimised functions to read and write int16/32/64 from strings, bytes and bigarrays, based on primitives added in version 4.01.

The library implements three modules:

  • EndianString works directly on strings, and provides submodules BigEndian and LittleEndian, with their unsafe counter-parts;
  • EndianBytes works directly on bytes, and provides submodules BigEndian and LittleEndian, with their unsafe counter-parts;
  • EndianBigstring works on bigstrings (Bigarrays of chars), and provides submodules BigEndian and LittleEndian, with their unsafe counter-parts;