'a BatIO.output -> object method close_out : unit -> unit method flush : unit -> unit method output : Stdlib.Bytes.t -> int -> int -> int end