Interface UnzlibStreamOptions

Options for decompressing a Zlib stream

interface UnzlibStreamOptions {
    dictionary?: Uint8Array;
}

Hierarchy (view full)

Properties

Properties

dictionary?: Uint8Array

The dictionary used to compress the original data. If no dictionary was used during compression, this option has no effect.

Supplying the wrong dictionary during decompression usually yields corrupt output or causes an invalid distance error.