CompressionError if the underlying context is null or parameter
re-application fails.
void reset()Reset the compression context for reuse.
All configured options (level, threads, strategy, windowBits, checksum, dictionary) are reapplied so the compressor behaves identically to a freshly constructed instance.
CompressionError if the underlying context is null or parameter
re-application fails.