Interface Encoder

Hierarchy

  • Encoder

Implemented by

Properties

contentTopic: string
encode: ((message: Message) => Promise<undefined | Uint8Array>)

Type declaration

    • (message: Message): Promise<undefined | Uint8Array>
    • Parameters

      Returns Promise<undefined | Uint8Array>

encodeProto: ((message: Message) => Promise<undefined | ProtoMessage>)

Type declaration

Generated using TypeDoc