flush

expect abstract override fun flush()

Writes all buffered data to the underlying sink and pushes it recursively all the way to its final destination.

actual abstract fun flush()

Writes all buffered data to the underlying sink.