Moonpool_lwt.IO_in
Input channel
class type t = object ... end
val create :
?close:(unit -> unit) ->
input:(bytes -> int -> int -> int) ->
unit ->
t
val empty : t
val of_bytes : ?off:int -> ?len:int -> bytes -> t
val of_string : ?off:int -> ?len:int -> string -> t
val input : t -> bytes -> int -> int -> int
Read into the given slice.
val really_input : t -> bytes -> int -> int -> unit
val really_input_string : t -> int -> string
val input_all : ?buf:bytes -> t -> string
val of_unix_fd : ?close_noerr:bool -> ?buf:bytes -> Unix.file_descr -> t