close

open fun close()

Closes the output stream and finishes any pending write operations.