Asynchronous streaming DEFLATE decompression
↳ AsyncInflate
+ new AsyncInflate(cb?
: AsyncFlateStreamHandler): AsyncInflate
Inherited from AsyncInflate.constructor
Creates an asynchronous decompression stream
Name | Type | Description |
---|---|---|
cb? |
AsyncFlateStreamHandler | The callback to call whenever data is inflated |
Returns: AsyncInflate
• ondata: AsyncFlateStreamHandler
Inherited from AsyncDeflate.ondata
The handler to call whenever data is available
▸ push(chunk
: Uint8Array, final?
: boolean): void
Inherited from AsyncInflate.push
Pushes a chunk to be inflated
Name | Type | Description |
---|---|---|
chunk |
Uint8Array | The chunk to push |
final? |
boolean | Whether this is the final chunk |
Returns: void