close

open override fun close()

Closes the stream. This is done by flushing the stream and then closing the underlying output stream.

See also

java.io.OutputStream.close