module Reader : Ring.READABLEmodule Writer : Ring.WRITABLEval write : Cstruct.t -> bytes -> int -> int -> intwrite stream buf ofs len writes up to len bytes from buf at ofs to stream. If this returns short it means EOF
val read : Cstruct.t -> bytes -> int -> int -> intread stream buf ofs len reads up to len bytes to buf at ofs from stream. If this returns short it means EOF
val unsafe_write : Cstruct.t -> bytes -> int -> int -> intval unsafe_read : Cstruct.t -> bytes -> int -> int -> int