close

open fun close()

Closes this stream. The source stream is closed and any resources associated with it are released.

Throws

if an error occurs while closing this stream.