package extlib

  1. Overview
  2. Docs

Same as operations above, but use big-endian encoding

val read_ui16 : input -> int
val read_i16 : input -> int
val read_i31 : input -> int
val read_i32 : input -> int
val read_i32_as_int : input -> int
val read_real_i32 : input -> int32
val read_i64 : input -> int64
val read_float32 : input -> float
val read_double : input -> float
val write_ui16 : 'a output -> int -> unit
val write_i16 : 'a output -> int -> unit
val write_i31 : 'a output -> int -> unit
val write_i32 : 'a output -> int -> unit
val write_real_i32 : 'a output -> int32 -> unit
val write_i64 : 'a output -> int64 -> unit
val write_float32 : 'a output -> float -> unit
val write_double : 'a output -> float -> unit
OCaml

Innovation. Community. Security.