Asynchronous streaming GZIP, Zlib, or raw DEFLATE decompression

Constructors

Methods

Properties

Constructors

Methods

  • Pushes a chunk to be decompressed

    Parameters

    • chunk: Uint8Array

      The chunk to push

    • Optionalfinal: boolean

      Whether this is the last chunk

    Returns void

Properties

The handler to call whenever data is available

The handler to call whenever buffered source data is processed (i.e. queuedSize updates)

queuedSize: number

The number of compressed bytes buffered in the stream