Module type Gluten_lwt.IO
val read : socket -> Bigstringaf.t -> off:int -> len:int -> [ `Eof | `Ok of int ] Lwt.t
The region
(off, off + len)
is where read bytes can be written to
Gluten_lwt.IO
val read : socket -> Bigstringaf.t -> off:int -> len:int -> [ `Eof | `Ok of int ] Lwt.t
The region (off, off + len)
is where read bytes can be written to