IO.input ->
object
  method close_in : unit -> unit
  method input : ExtBytes.Bytes.t -> int -> int -> int
end