Class Inflate
Index
Constructors
constructor
Creates a DEFLATE decompression stream
Parameters
- opts: InflateStreamOptions
The decompression options
Optionalcb: FlateStreamHandlerThe callback to call whenever data is inflated
Returns Inflate
- opts: InflateStreamOptions
Creates a DEFLATE decompression stream
Parameters
Optionalcb: FlateStreamHandlerThe callback to call whenever data is inflated
Returns Inflate
Methods
push
Pushes a chunk to be inflated
Parameters
- chunk: Uint8Array
The chunk to push
Optionalfinal: booleanWhether this is the final chunk
Returns void
- chunk: Uint8Array
Streaming DEFLATE decompression