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

0.7.tar.gz
sha256=40e0b11f32e564a9c8d2b14d8e0f91ab2ebac278b39d39147f0035d29259e7fb
md5=c5d7ddb431dc10b01718fe303e642491

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;

Tags

org:ocamlpro

Published: 25 May 2014

OCaml

Innovation. Community. Security.