Added in API level 1

Flushable

interface Flushable
java.io.Flushable

A Flushable is a destination of data that can be flushed. The flush method is invoked to write any buffered output to the underlying stream.

Summary

Public methods
abstract Unit

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

Public methods

flush

Added in API level 1
abstract fun flush(): Unit

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

Exceptions
java.io.IOException If an I/O error occurs