Creates an instance of MessageAddr.
The address of the associated entity.
Optional
messageThe optional index of the message within the topic.
The hash of the topic name associated with this message.
Static
fromConstructs a MessageAddr
instance from a byte array.
Interprets the byte array in a structured format to extract
the entity address, topic name hash, and optionally, the message index.
A new MessageAddr
instance wrapped in an IResultWithBytes
.
The byte array representing the MessageAddr.
Static
fromInstantiates a MessageAddr from its string representation. The string should follow the prefixed format used in the system.
A new MessageAddr instance.
Error if the provided string does not match the expected format.
The string representation of the MessageAddr.
Generated using TypeDoc
Represents an addressable message within the system. The address is composed of an associated entity address, a hashed topic name, and an optional message index. It offers various utilities for serialization, deserialization, and converting the address into prefixed string and byte representations.