class output_null :?onclose:unit -> unit -> unit ->
out_obj_channel
This output channel discards all written data.
The method pos_out
returns the number of discarded bytes.
onclose
: this function is called when the close_out
method is
invoked, just after the underlying descriptor has been closed.