close

expect abstract override fun close()(source)

Pushes all buffered bytes to their final destination and releases the resources held by this sink. It is an error to write a closed sink. It is safe to close a sink more than once.

Throws

when some I/O error occurs.

actual abstract override fun close()(source)
actual abstract override fun close()(source)
actual abstract override fun close()(source)
actual abstract override fun close()(source)