package orsetto

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

r1.0.2.tar.gz
sha256=bb2af4d8b376b2d60fa996bd4d3b90d9f3559455672540f6d7c3598af81d483b
md5=f7bfa83013801b42fcdba607af2f012b

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