flush

open override fun flush()

Flushes the stream. This is done by writing any buffered output bytes to the underlying output stream and then flushing that stream.

See also

java.io.OutputStream.flush