package angstrom

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Little endian parsers

val int16 : int -> unit t

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

val int32 : int32 -> unit t

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

val int64 : int64 -> unit t

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

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

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

val any_uint16 : int t

uint16 reads 16 bits and interprets them as a little endian unsigned integer.

val any_float : float t

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

val any_double : float t

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

OCaml

Innovation. Community. Security.