Make.Flowread flow bstr ~off ~len reads at most len bytes from flow into bstr at off and returns how many bytes were actually read. 0 means end-of-input.
val writev : t -> Bstr.t Faraday.iovec list -> unitwritev flow iovecs writes all the given iovecs to flow.
NOTE: the buffers of iovecs belong to the caller and are reused as soon as writev returns. An implementation which defers the actual transmission (such as utcp, which keeps the segment in its own state) must take a copy.
val close : t -> unitval shutdown : t -> [ `read | `write | `read_write ] -> unit