Up

module Transfer_io

: sig
#
module Make : functor (IO : S.IO) -> sig
#
type reader
#
type writer
#
val make_reader : Transfer.encoding -> IO.ic -> reader
#
val make_writer : ?flush:bool -> Transfer.encoding -> IO.oc -> writer
#
val read : reader -> Transfer.chunk IO.t
#
val write : writer -> string -> unit IO.t
#
val to_string : reader -> string IO.t
end
end