flush

abstract fun flush()

Flushes this stream by writing any buffered output to the underlying stream.

Throws

IOException

If an I/O error occurs