Function packAndDeflate
- packAndDeflate(
data: any,
opts?: { deflateOptions?: DeflateOptions },
): Uint8Array Parameters
- data: any
Any data.
Optional
opts: { deflateOptions?: DeflateOptions }Optional parameters.
Optional
deflateOptions?: DeflateOptionsDeflate options.
Returns Uint8Array
Packed and compressed data.
- data: any
Packs given data with MessagePack then deflates / compresses with Zlib. The inverse function to inflate is
inflateAndUnpack
.