package faraday

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

Big endian serializers

val write_uint16 : t -> int -> unit

write_uint16 t n copies the lower 16 bits of n into the serializer's internal buffer in big-endian byte order.

val write_uint32 : t -> int32 -> unit

write_uint32 t n copies n into the serializer's internal buffer in big-endian byte order.

val write_uint48 : t -> int64 -> unit

write_uint48 t n copies the lower 48 bits of n into the serializer's internal buffer in big-endian byte order.

val write_uint64 : t -> int64 -> unit

write_uint64 t n copies n into the serializer's internal buffer in big-endian byte order.

val write_float : t -> float -> unit

write_float t n copies the lower 32 bits of n into the serializer's internal buffer in big-endian byte order.

val write_double : t -> float -> unit

write_double t n copies n into the serializer's internal buffer in big-endian byte order.

OCaml

Innovation. Community. Security.