Class ZipDeflate

Represents an instance used to compress data.

Hierarchy (View Summary)

Constructors

Methods

Constructors

Methods

  • Appends a chunk of decompressed data to compress

    Parameters

    • data: Uint8Array<ArrayBufferLike>

      The chunk of decompressed data to append.

    Returns Uint8Array<ArrayBufferLike>

    A chunk of compressed data.

  • Flushes the data

    Returns Uint8Array<ArrayBufferLike>

    A chunk of compressed data.