You're viewing archived documentation for @imqueue/core v1.15.0. APIs may differ from the current release. View the latest version ↗

pack() function

Compress given data and returns binary string

Signature:

export declare function pack(data: any): string;

Parameters

Parameter

Type

Description

data

any

Returns:

string

{string}