Interface Decoder<T>

Type Parameters

Hierarchy

  • Decoder

Implemented by

Properties

contentTopic: string
fromProtoObj: ((proto: ProtoMessage) => Promise<undefined | T>)

Type declaration

fromWireToProtoObj: ((bytes: Uint8Array) => Promise<undefined | ProtoMessage>)

Type declaration

    • (bytes: Uint8Array): Promise<undefined | ProtoMessage>
    • Parameters

      • bytes: Uint8Array

      Returns Promise<undefined | ProtoMessage>

Generated using TypeDoc