Class Inflate
Index
Constructors
constructor
- new Inflate(opts: InflateStreamOptions, cb?: FlateStreamHandler): Inflate
Creates a DEFLATE decompression stream
Parameters
- opts: InflateStreamOptions
The decompression options
Optional
cb: FlateStreamHandlerThe callback to call whenever data is inflated
Returns Inflate
- opts: InflateStreamOptions
- new Inflate(cb?: FlateStreamHandler): Inflate
Creates a DEFLATE decompression stream
Parameters
Optional
cb: FlateStreamHandlerThe callback to call whenever data is inflated
Returns Inflate
Methods
push
- push(chunk: Uint8Array<ArrayBufferLike>, final?: boolean): void
Pushes a chunk to be inflated
Parameters
- chunk: Uint8Array<ArrayBufferLike>
The chunk to push
Optional
final: booleanWhether this is the final chunk
Returns void
- chunk: Uint8Array<ArrayBufferLike>
Streaming DEFLATE decompression