ocplib-endian 0.2
Homepage | https://github.com/OCamlPro/ocplib-endian | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Maintainer | contact@ocamlpro.com | |||||||||||||||||
Dependencies |
|
|||||||||||||||||
Published | Nov 14, 2012 | |||||||||||||||||
Source [http] |
https://github.com/OCamlPro/ocplib-endian/archive/0.2.tar.gz 0b298747d03b8f5751107705cab0d9f2 |
|||||||||||||||||
Edit | https://github.com/ocaml/opam-repository/tree/master/packages/ocplib-endian/ocplib-endian.0.2/opam |
Optimised functions to read and write int16/32/64 from strings and bigarrays, based on new primitives added in version 4.01.
The library implements two modules:
- EndianString works directly on strings, 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;