Module type Xs_protocol.IO

type 'a t
val return : 'a -> 'a t
val (>>=) : 'a t -> ('a -> 'b t) -> 'b t
type channel
val read : channel -> bytes -> int -> int -> int t
val write : channel -> bytes -> int -> int -> unit t