compress
abstract fun compress(readChannel: ByteReadChannel, coroutineContext: CoroutineContext = Dispatchers.Unconfined): ByteReadChannel
Content copied to clipboard
Wraps readChannel into a compressing ByteReadChannel.
abstract fun compress(writeChannel: ByteWriteChannel, coroutineContext: CoroutineContext = Dispatchers.Unconfined): ByteWriteChannel
Content copied to clipboard
Wraps writeChannel into a compressing ByteWriteChannel.