package orsetto

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

Install

Dune Dependency

Authors

Maintainers

Sources

r1.1.tar.gz
sha256=6e6f59fc6a2c590b1b377e40f2120a548e6f09e61e7eb12ffa45cf2d517316b8
md5=533153cd4a9fe8093d3b98afc1073bc8

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