package orsetto

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

Install

Dune Dependency

Authors

Maintainers

Sources

r1.1.2.tar.gz
sha512=e260412b2dd0f98cfe3dc7ed5c31a694eb31c93cd207c51fa12675b790234ee0ad3bf07d9be17a4dc266fedfe55b14c967cad7bc0c9414063eef8afd59f3d0d1

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