Constructors
Methods
Static
compress
- compress(data): Buffer
Parameters
- data: Uint8Array | Buffer
Returns Buffer
The compressed data.
Static
decompress
- decompress(data): Buffer
Parameters
- data: Uint8Array | Buffer
Returns Buffer
The decompressed data.
Compressor class for compressing and decompressing data.