package ocplib-endian

  1. Overview
  2. Docs
Optimised functions to read and write int16/32/64 from strings and bigarrays, based on new primitives added in version 4.01.

Install

Dune Dependency

Authors

Maintainers

Sources

1.0.tar.gz
md5=74b45ba33e189283170a748c2a3ed477

Description

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;

Published: 20 Jul 2016