Creates a Message object that is a representation of the gRPC Message
object.
Message object.
Message object (with some extra helpful methods).
See IMessage.partition.
Create a serialized Message
object with the Liftbridge envelope.
ℹ️ Use only when you're talking directly to NATS systems.
Buffer of Protobuf message.
Returns a deserialized Message
in JSON form.
Buffers & byte-arrays are deserialized to UTF-8 strings,
and maps of the form [[k1, v1], [k2, v2]]
are converted to
objects of the form { k1: v1, k2, v2 }
.
Liftbridge Message
to deserialize.
JSON form of given Message
as IMessage.
Liftbridge message subclass.
Includes some helpful methods to convert to/from native JSON objects to Liftbridge gRPC objects.