Scoop API

scoop:scoop.compression:0.1.0

DeflateOptions

class DeflateOptions

source · line 103
public
public class DeflateOptions public constructor(
    /**
     * The DEFLATE compression level passed to the backend.
     */
    public val level: Int = 6,
        /**
         * The base-two logarithm of the DEFLATE history window size.
         */
        public val windowBits: Int = 15,
    /**
     * The match and entropy-coding strategy used by DEFLATE.
     */
    public val strategy: DeflateStrategy = DeflateStrategy.Default
)

DEFLATE compression level, window bits, and strategy for zlib or raw DEFLATE. Invalid combinations fail during codec construction.

property windowBits

source · line 111
public
public val windowBits: Int = 15

get: public read-only

The base-two logarithm of the DEFLATE history window size.

property strategy

source · line 115
public
public val strategy: DeflateStrategy = DeflateStrategy.Default

get: public read-only

The match and entropy-coding strategy used by DEFLATE.

property level

source · line 107
public
public val level: Int = 6

get: public read-only

The DEFLATE compression level passed to the backend.