RW.t
method read : buffer -> int -> int -> unit
method write : buffer -> int -> int -> unit
method close : unit