close

abstract override fun close()

Close the stream. Implementation of the AutoCloseable.close.

Throws

if stream was already closed.