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;
AuthorPierre Chambart
Published
Homepagehttps://github.com/OCamlPro/ocplib-endian
Issue Trackerhttps://github.com/OCamlPro/ocplib-endian/issues
Maintainerpierre.chambart@ocamlpro.com
Dependencies
Source [http] https://github.com/OCamlPro/ocplib-endian/archive/1.0.tar.gz
sha256=76f268e1aff8dbac8b6a0ca9473f90255da35f15b0fcaf26a840cb6f73029243
md5=74b45ba33e189283170a748c2a3ed477
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/ocplib-endian/ocplib-endian.1.0/opam