package orsetto

  1. Overview
  2. Docs
On This Page
  1. Overview
Legend:
Library
Module
Module type
Parameter
Class
Class type

Utility functions for byte-order sensitive data.

Overview

Primitive functions for ingesting and rendering integers and floating point numbers to and from subranges of strings and byte sequences using the "big-endian" and "little-endian" explicit octet ordering disciplines.

module type Profile = Cf_endian_core.Safe
module BE : Profile

Big-endian.

module LE : Profile

Little-endian.

module SE : Profile

According to system configuration.

type t = [
  1. | `BE
  2. | `LE
  3. | `SE
]

Identifier type

val create : [< t ] -> (module Profile)

Use create e to get the endian functions module corresponding to the endianness identifier e.

module Unsafe : sig ... end
OCaml

Innovation. Community. Security.