flush

abstract fun flush()

Flushes all pending write bytes making them available for read. Thread safe and can be invoked at any time. It does nothing when invoked on a closed channel.