Function packAndDeflate
- pack
And (data, opts?): Uint8ArrayDeflate 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
.