pako - v3.0.1
    Preparing search index...

    Interface DeflateOptions

    interface DeflateOptions {
        level?: number;
        chunkSize?: number;
        windowBits?: number;
        memLevel?: number;
        strategy?: number;
        raw?: boolean;
        gzip?: boolean;
        dictionary?: ArrayBuffer | Uint8Array<ArrayBufferLike>;
        legacyHash?: boolean;
    }
    Index

    zlib options

    level?: number

    Compression level. See the zlib manual for more information.

    windowBits?: number

    Window size. See the zlib manual for more information.

    memLevel?: number

    Memory level. See the zlib manual for more information.

    strategy?: number

    Compression strategy. See the zlib manual for more information.

    dictionary?: ArrayBuffer | Uint8Array<ArrayBufferLike>

    Initial dictionary. See the zlib manual for more information.

    Extensions

    chunkSize?: number

    Size of generated data chunks (16K by default).

    raw?: boolean

    Do raw deflate. Say that we work with raw stream, if you don't wish to specify negative windowBits implicitly.

    gzip?: boolean

    Create gzip wrapper.

    legacyHash?: boolean

    Set to true to use the classic zlib hash, which matches canonical zlib output byte-for-byte. The default false uses the faster ANZAC++ hash, which matches recent (chromium) node.js output instead.