Asynchronous streaming GZIP, Zlib, or raw DEFLATE decompression
+ new AsyncDecompress(cb?: AsyncFlateStreamHandler): AsyncDecompress
Creates an asynchronous decompression stream
| Name | Type | Description |
|---|---|---|
cb? |
AsyncFlateStreamHandler | The callback to call whenever data is decompressed |
Returns: AsyncDecompress
• ondata: AsyncFlateStreamHandler
The handler to call whenever data is available
▸ push(chunk: Uint8Array, final?: boolean): void
Pushes a chunk to be decompressed
| Name | Type | Description |
|---|---|---|
chunk |
Uint8Array | The chunk to push |
final? |
boolean | Whether this is the last chunk |
Returns: void