Class: UnzipInflate

May 16, 2026 ยท View on GitHub

fflate


Class: UnzipInflate

Streaming DEFLATE decompression for ZIP archives. Prefer AsyncZipInflate for better performance.

Implements

Constructors

Constructor

new UnzipInflate(): UnzipInflate

Creates a DEFLATE decompression that can be used in ZIP archives

Returns

UnzipInflate

Properties

ondata

ondata: AsyncFlateStreamHandler

The handler to call whenever data is available

Implementation of

UnzipDecoder.ondata


compression

static compression: number = 8

Methods

push()

push(chunk: Uint8Array, final: boolean): void

Pushes a chunk to be decompressed

Parameters

chunk

Uint8Array

The data in this chunk. Do not consume (detach) this buffer.

final

boolean

Whether this is the last chunk in the data stream

Returns

void

Implementation of

UnzipDecoder.push