package lwt-binio

  1. Overview
  2. Docs
val read_bytes : (Lwt_io.input_channel * 'a) -> size:int -> offset:int -> Bytes.t option Lwt.t
val write_bytes : ('a * Lwt_io.output_channel) -> Bytes.t -> offset:int -> unit Lwt.t