compress

open override fun compress(readChannel: ByteReadChannel, coroutineContext: CoroutineContext): ByteReadChannel

Wraps readChannel into a compressing ByteReadChannel.


open override fun compress(writeChannel: ByteWriteChannel, coroutineContext: CoroutineContext): ByteWriteChannel

Wraps writeChannel into a compressing ByteWriteChannel.