Methods
Static createMessageFromBuffer
- createMessageFromBuffer(payload?: Uint8Array): Message
-
Parameters
-
Optional payload: Uint8Array
Static createMessageFromHex
- createMessageFromHex(payload?: undefined | string): Message
-
Parameters
-
Optional payload: undefined | string
Objects that knows how to create messages from serialized payloads.
Note: this could be in the Message class but the circular dependency breaks Typescript.