Computer Laboratory

OCaml Labs

ocplib-endian

Homepage https://github.com/OCamlPro/ocplib-endian
Maintainer contact@ocamlpro.com
Dependencies ocamlfind & optcomp
Last update Dec 19, 2013
Source https://github.com/OCamlPro/ocplib-endian/archive/0.4.tar.gz
58d84c036a92d2e327ac8ad8dfe775d8

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;

Dependencies
optcomp
ocamlfind
Required by
cstruct
lwt-binio
websocket