api / tv.twelvetone.io / Writer / close

close

abstract fun close(): Unit

Closes the stream, flushing it first. Once the stream has been closed, further write() or flush() invocations will cause an IOException to be thrown. Closing a previously closed stream has no effect.

Exceptions

IOException - If an I/O error occurs