Compress data using the DEFLATE compression algorithm.
A buffer containing the data to compress.
Compression level between 0 (no compression) and 9 (max).
An ArrayBuffer containing the compressed data.
Uncompress data that was previously compressed using Z.deflate, with optional "inflate
bomb" protection.
A buffer containing some data compressed using deflate.
The maximum allowed size of the data after inflation, in bytes.
An ArrayBuffer containing the uncompressed data.
Generated using TypeDoc
Provides functions for data compression and decompression.