Options for decompressing DEFLATE data asynchronously
↳ AsyncInflateOptions
• Optional
consume: boolean
Inherited from AsyncDeflateOptions.consume
Whether or not to "consume" the source data. This will make the typed array/buffer you pass in unusable but will increase performance and reduce memory usage.
• Optional
size: number
The original size of the data. Currently, the asynchronous API disallows writing into a buffer you provide; the best you can do is provide the size in bytes and be given back a new typed array.