Preparing search index...
The search index is not available
Documentation
Documentation
@waku/sdk
Decoder
Class Decoder
Implements
IDecoder
<
DecodedMessage
>
Index
Constructors
constructor
Properties
content
Topic
pubsub
Topic
Methods
from
Proto
Obj
from
Wire
To
Proto
Obj
Constructors
constructor
new
Decoder
(
pubsubTopic
,
contentTopic
)
:
Decoder
Parameters
pubsubTopic
:
string
contentTopic
:
string
Returns
Decoder
Properties
content
Topic
content
Topic
:
string
pubsub
Topic
pubsub
Topic
:
string
Methods
from
Proto
Obj
from
Proto
Obj
(
pubsubTopic
,
proto
)
:
Promise
<
undefined
|
DecodedMessage
>
Parameters
pubsubTopic
:
string
proto
:
IProtoMessage
Returns
Promise
<
undefined
|
DecodedMessage
>
from
Wire
To
Proto
Obj
from
Wire
To
Proto
Obj
(
bytes
)
:
Promise
<
undefined
|
IProtoMessage
>
Parameters
bytes
:
Uint8Array
Returns
Promise
<
undefined
|
IProtoMessage
>
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
constructor
content
Topic
pubsub
Topic
from
Proto
Obj
from
Wire
To
Proto
Obj
Documentation
Loading...