flush

open fun flush()

Flushes this output stream and forces any buffered output bytes to be written out to the stream.

Throws

if an I/O error occurs.