Preparing search index...
The search index is not available
@xmtp/xmtp-js
@xmtp/xmtp-js
CompositeCodec
Class CompositeCodec
Implements
ContentCodec
<
Composite
>
Index
Constructors
constructor
Accessors
content
Type
Methods
decode
encode
fallback
should
Push
Constructors
constructor
new
Composite
Codec
(
)
:
CompositeCodec
Returns
CompositeCodec
Accessors
content
Type
get
contentType
(
)
:
ContentTypeId
Returns
ContentTypeId
Methods
decode
decode
(
content
,
codecs
)
:
Composite
Parameters
content
:
EncodedContent
<
Record
<
string
,
string
>
>
codecs
:
CodecRegistry
Returns
Composite
encode
encode
(
content
,
codecs
)
:
EncodedContent
<
Record
<
string
,
string
>
>
Parameters
content
:
Composite
codecs
:
CodecRegistry
Returns
EncodedContent
<
Record
<
string
,
string
>
>
fallback
fallback
(
content
)
:
undefined
|
string
Parameters
content
:
Composite
Returns
undefined
|
string
should
Push
should
Push
(
)
:
boolean
Returns
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
content
Type
decode
encode
fallback
should
Push
@xmtp/xmtp-js
Loading...
Generated using
TypeDoc