package angstrom

  1. Overview
  2. Docs

Module Angstrom.BESource

Big endian parsers

Sourceval int16 : int -> unit t

int16 i accept two bytes that match the two lower order bytes of i and returns unit.

Sourceval int32 : int32 -> unit t

int32 i accept four bytes that match the four bytes of i and returns unit.

Sourceval int64 : int64 -> unit t

int32 i accept eight bytes that match the eight bytes of i and returns unit.

Sourceval any_int16 : int t
Sourceval any_int32 : int32 t
Sourceval any_int64 : int64 t

any_intN reads N bits and interprets them as big endian signed integers.

Sourceval any_uint16 : int t

any_uint16 reads 16 bits and interprets them as a big endian unsigned integer.

Sourceval any_float : float t

any_float reads 32 bits and interprets them as a big endian floating point value.

Sourceval any_double : float t

any_double reads 64 bits and interprets them as a big endian floating point value.

OCaml

Innovation. Community. Security.