Function: decompressSync()
May 16, 2026 ยท View on GitHub
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?
The decompression options
Returns
Uint8Array<ArrayBufferLike>
The decompressed version of the data