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
ContentCodec
Interface ContentCodec<T>
Type parameters
T
Hierarchy
ContentCodec
Implemented by
CompositeCodec
TextCodec
Index
Properties
content
Type
Methods
decode
encode
fallback
Properties
content
Type
content
Type
:
ContentTypeId
Methods
decode
decode
(
content
:
EncodedContent
<
Record
<
string
,
string
>
>
, registry
:
CodecRegistry
)
:
T
Parameters
content:
EncodedContent
<
Record
<
string
,
string
>
>
registry:
CodecRegistry
Returns
T
encode
encode
(
content
:
T
, registry
:
CodecRegistry
)
:
EncodedContent
<
Record
<
string
,
string
>
>
Parameters
content:
T
registry:
CodecRegistry
Returns
EncodedContent
<
Record
<
string
,
string
>
>
fallback
fallback
(
content
:
T
)
:
undefined
|
string
Parameters
content:
T
Returns
undefined
|
string
Exports
Content
Codec
content
Type
decode
encode
fallback
Generated using
TypeDoc