GzipEncoder
Implementation of the gzip
encoder.
Functions
Link copied to clipboard
open override fun compress(readChannel: ByteReadChannel, coroutineContext: CoroutineContext): ByteReadChannel
Content copied to clipboard
Wraps readChannel into a compressing ByteReadChannel.
open override fun compress(writeChannel: ByteWriteChannel, coroutineContext: CoroutineContext): ByteWriteChannel
Content copied to clipboard
Wraps writeChannel into a compressing ByteWriteChannel.
Link copied to clipboard
Provides an estimation for the compressed length based on the originalLength or return null
if it's impossible.