package orsetto

  1. Overview
  2. Docs
A library of assorted structured data interchange languages

Install

Dune Dependency

Authors

Maintainers

Sources

r1.1.3.tar.gz
sha512=9b654edb663ae697563f150824047052f3b1bf760398f24bce6350553f031f73c46b6337239a1acd871e61238597ea92046809e3358290ff14d6ba671b449085

doc/orsetto.cf/Cf_endian/index.html

Module Cf_endian

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.

On This Page
  1. Overview