close

expect open fun close()(source)

Closes this output stream and releases any system resources associated with this stream. The general contract of close is that it closes the output stream. A closed stream cannot perform output operations and cannot be reopened.

The close method of OutputStream does nothing.

Since

0.1.0

Throws

if an I/O error occurs.

actual open fun close()(source)