create
Creates a streaming compressor.
Parameters
The compression algorithm to use.
The compression level.
Factory for allocating output buffers.
Size of output buffers (default 32KB).
Log2 size of the LZ77 sliding window. WindowBits.Default selects the algorithm default (15-bit / 32 KB window). The platform applies the algorithm-appropriate sign/offset to zlib's deflateInit2 (see resolveWindowBits). Note: JVM's java.util.zip.Deflater does not support custom window sizes; this parameter is silently ignored on JVM. Apple and JS/Wasm also currently ignore it.
Creates a streaming decompressor.
Parameters
The compression algorithm to use.
Factory for allocating output buffers.
Size of output buffers (default 32KB).
Optional hint for expected decompressed size. Used to pre-allocate buffers.
Creates a suspending streaming compressor. Required for browser JavaScript which only supports async CompressionStream.
Creates a suspending streaming decompressor.
Creates a streaming compressor.
Parameters
The compression algorithm to use.
The compression level.
Factory for allocating output buffers.
Size of output buffers (default 32KB).
Log2 size of the LZ77 sliding window. WindowBits.Default selects the algorithm default (15-bit / 32 KB window). The platform applies the algorithm-appropriate sign/offset to zlib's deflateInit2 (see resolveWindowBits). Note: JVM's java.util.zip.Deflater does not support custom window sizes; this parameter is silently ignored on JVM. Apple and JS/Wasm also currently ignore it.
Creates a streaming decompressor.
Parameters
The compression algorithm to use.
Factory for allocating output buffers.
Size of output buffers (default 32KB).
Optional hint for expected decompressed size. Used to pre-allocate buffers.
Creates a suspending streaming compressor. Required for browser JavaScript which only supports async CompressionStream.
Creates a suspending streaming decompressor.
Linux streaming compressor factory using z_stream for true incremental compression.
Linux streaming decompressor factory using z_stream for true incremental decompression.
Creates a suspending streaming compressor. Required for browser JavaScript which only supports async CompressionStream.
Creates a suspending streaming decompressor.