close

abstract fun close()

Flush all pending bytes from writeBuffer to the internal read buffer without suspension and initiate channel close.