Class: PackedMessage
A packed message represents an ordinary Message, but in a compressed format. This is useful in case you need to retain a large number or messages in memory, and reduce memory overhead.
The only way to create a packed message is by invoking the 'Message.pack' method.
Methods
unpack()
unpack():
Message
Unpacks a previously packed message.
// Pack message
const packedMsg = message.pack();
// Unpack message
const unpackedMsg = packedMsg.unpack();
Returns
Unpacked Message