[BACK]Return to DESCR CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / ocaml-ocplib-endian

File: [cvs.NetBSD.org] / pkgsrc / devel / ocaml-ocplib-endian / DESCR (download)

Revision 1.1, Tue Mar 19 11:35:33 2019 UTC (2 years, 8 months ago) by jaapb
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, HEAD

Added devel/ocaml-ocplib-endian, optimised int-to-string functions

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.