module BigEndian:sig
..end
BatIO
, but with big-endian encodingBatIO
which behave
differently on big-endian input
s/output
s.
Generally, to use this module you will wish to either open both
BatIO
and BatIO.BigEndian
, so as to import a big-endian version of
BatIO
, as per
open System.BatIO, BigEndian in ...
,
or to redefine locally BatIO
to use big-endian encodings
module BatIO = System.BatIO include BigEndian
val read_ui16 : BatIO.input -> int
val read_i16 : BatIO.input -> int
val read_i32 : BatIO.input -> int
Overflow
if the
read integer cannot be represented as an OCaml 31-bit integer.val read_real_i32 : BatIO.input -> int32
val read_i64 : BatIO.input -> int64
val read_double : BatIO.input -> float
val read_float : BatIO.input -> float
val write_ui16 : (int, 'a) BatIO.printer
val write_i16 : (int, 'a) BatIO.printer
val write_i32 : (int, 'a) BatIO.printer
val write_real_i32 : (int32, 'a) BatIO.printer
val write_i64 : (int64, 'a) BatIO.printer
val write_double : (float, 'a) BatIO.printer
val write_float : (float, 'a) BatIO.printer
val ui16s_of : BatIO.input -> int BatEnum.t
val i16s_of : BatIO.input -> int BatEnum.t
val i32s_of : BatIO.input -> int BatEnum.t
Overflow
if the read integer cannot be represented as an OCaml
31-bit integer.val real_i32s_of : BatIO.input -> int32 BatEnum.t
int32
s.val i64s_of : BatIO.input -> int64 BatEnum.t
int64
s.val doubles_of : BatIO.input -> float BatEnum.t
val floats_of : BatIO.input -> float BatEnum.t