Function: decompressSync()

May 16, 2026 ยท View on GitHub

fflate


Function: decompressSync()

decompressSync(data: Uint8Array, opts?: InflateOptions): Uint8Array<ArrayBufferLike>

Expands compressed GZIP, Zlib, or raw DEFLATE data, automatically detecting the format

Parameters

data

Uint8Array

The data to decompress

opts?

InflateOptions

The decompression options

Returns

Uint8Array<ArrayBufferLike>

The decompressed version of the data

Contents

  1. 1Parameters
  2. 1.1data
  3. 1.2opts?
  4. 2Returns