ocplib-endianversion

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 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;
Tags org:ocamlpro
Published
Homepagehttps://github.com/OCamlPro/ocplib-endian
Maintainercontact@ocamlpro.com
Dependencies
Source [http] https://github.com/OCamlPro/ocplib-endian/archive/0.6.tar.gz
sha256=d90b4c590e4c282d11be7fc0dc4ae05340f2f51e28577f1db71e2429ede7c735
md5=e8a3bab148db6fe46b17796900228209
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/ocplib-endian/ocplib-endian.0.6/opam