package lwt
Promises and event-driven I/O
Install
Dune Dependency
Authors
Maintainers
Sources
5.5.0.tar.gz
md5=94272fac89c5bf21a89c102b8a8f35a5
sha512=8951b94555e930634375816d71815b9d85daad6ffb7dab24864661504d11be26575ab0b237196c54693efa372a9b69cdc1d5068a20a250dc0bbb4a3c03c5fda1
doc/lwt.unix/Lwt_io/BE/index.html
Module Lwt_io.BE
Reading/writing of numbers in big-endian
Reading
val read_int : input_channel -> int Lwt.t
Reads a 32-bits integer as an ocaml int
val read_int16 : input_channel -> int Lwt.t
val read_int32 : input_channel -> int32 Lwt.t
val read_int64 : input_channel -> int64 Lwt.t
val read_float32 : input_channel -> float Lwt.t
Reads an IEEE single precision floating point value
val read_float64 : input_channel -> float Lwt.t
Reads an IEEE double precision floating point value
Writing
val write_int : output_channel -> int -> unit Lwt.t
Writes an ocaml int as a 32-bits integer
val write_int16 : output_channel -> int -> unit Lwt.t
val write_int32 : output_channel -> int32 -> unit Lwt.t
val write_int64 : output_channel -> int64 -> unit Lwt.t
val write_float32 : output_channel -> float -> unit Lwt.t
Writes an IEEE single precision floating point value
val write_float64 : output_channel -> float -> unit Lwt.t
Writes an IEEE double precision floating point value