Search
Preparing search index...
The search index is not available
@xmtp/xmtp-js
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@xmtp/xmtp-js
CompositeCodec
Class CompositeCodec
Hierarchy
CompositeCodec
Implements
ContentCodec
<
Composite
>
Index
Constructors
constructor
Accessors
content
Type
Methods
decode
encode
Constructors
constructor
new
Composite
Codec
(
)
:
CompositeCodec
Returns
CompositeCodec
Accessors
content
Type
get
contentType
(
)
:
ContentTypeId
Returns
ContentTypeId
Methods
decode
decode
(
content
:
EncodedContent
<
Record
<
string
,
string
>
>
, codecs
:
CodecRegistry
)
:
Composite
Parameters
content:
EncodedContent
<
Record
<
string
,
string
>
>
codecs:
CodecRegistry
Returns
Composite
encode
encode
(
content
:
Composite
, codecs
:
CodecRegistry
)
:
EncodedContent
<
Record
<
string
,
string
>
>
Parameters
content:
Composite
codecs:
CodecRegistry
Returns
EncodedContent
<
Record
<
string
,
string
>
>
Exports
Composite
Codec
constructor
content
Type
decode
encode
Generated using
TypeDoc