Preparing search index...
The search index is not available
Documentation
Documentation
@waku/message-encryption
symmetric
Decoder
Class Decoder
Hierarchy
Decoder
Decoder
Implements
IDecoder
<
DecodedMessage
>
Index
Constructors
constructor
Properties
content
Topic
pubsub
Topic
sym
Key
Methods
from
Proto
Obj
from
Wire
To
Proto
Obj
Constructors
constructor
new
Decoder
(
pubsubTopic
,
contentTopic
,
symKey
)
:
symmetric
.
Decoder
Parameters
pubsubTopic
:
string
contentTopic
:
string
symKey
:
Uint8Array
Returns
symmetric
.
Decoder
Properties
content
Topic
content
Topic
:
string
pubsub
Topic
pubsub
Topic
:
string
Private
sym
Key
sym
Key
:
Uint8Array
Methods
from
Proto
Obj
from
Proto
Obj
(
pubsubTopic
,
protoMessage
)
:
Promise
<
undefined
|
DecodedMessage
>
Parameters
pubsubTopic
:
string
protoMessage
:
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
sym
Key
from
Proto
Obj
from
Wire
To
Proto
Obj
Documentation
@waku/interfaces - v0.0.19
@waku/utils - v0.0.12
@waku/proto - v0.0.5
@waku/enr - v0.0.18
@waku/core - v0.0.24
@waku/relay - v0.0.7
@waku/message-hash - v0.1.8
@waku/peer-exchange - v0.0.17
@waku/dns-discovery - v0.0.18
@waku/message-encryption - v0.0.22
@waku/sdk - v0.0.20
@waku/browser-tests
Generated using
TypeDoc