Function unzlib
- unzlib(
data: Uint8Array<ArrayBufferLike>,
opts: AsyncUnzlibOptions,
cb: FlateCallback,
): AsyncTerminable Parameters
- data: Uint8Array<ArrayBufferLike>
The data to decompress
- opts: AsyncUnzlibOptions
The decompression options
- cb: FlateCallback
The function to be called upon decompression completion
Returns AsyncTerminable
A function that can be used to immediately terminate the decompression
- data: Uint8Array<ArrayBufferLike>
- unzlib(data: Uint8Array<ArrayBufferLike>, cb: FlateCallback): AsyncTerminable
Asynchronously expands Zlib data
Parameters
- data: Uint8Array<ArrayBufferLike>
The data to decompress
- cb: FlateCallback
The function to be called upon decompression completion
Returns AsyncTerminable
A function that can be used to immediately terminate the decompression
- data: Uint8Array<ArrayBufferLike>
Asynchronously expands Zlib data