Class Gunzip
Index
Constructors
constructor
Creates a GUNZIP stream
Parameters
- opts: GunzipStreamOptions
The decompression options
Optionalcb: FlateStreamHandlerThe callback to call whenever data is inflated
Returns Gunzip
- opts: GunzipStreamOptions
Creates a GUNZIP stream
Parameters
Optionalcb: FlateStreamHandlerThe callback to call whenever data is inflated
Returns Gunzip
Methods
push
Pushes a chunk to be GUNZIPped
Parameters
- chunk: Uint8Array
The chunk to push
Optionalfinal: booleanWhether this is the last chunk
Returns void
- chunk: Uint8Array
Streaming single or multi-member GZIP decompression