Preparing search index...
The search index is not available
@xmtp/xmtp-js
@xmtp/xmtp-js
TextCodec
Class TextCodec
Implements
ContentCodec
<
string
>
Index
Constructors
constructor
Accessors
content
Type
Methods
decode
encode
fallback
should
Push
Constructors
constructor
new
Text
Codec
(
)
:
TextCodec
Returns
TextCodec
Accessors
content
Type
get
contentType
(
)
:
ContentTypeId
Returns
ContentTypeId
Methods
decode
decode
(
content
)
:
string
Parameters
content
:
EncodedContent
<
Record
<
string
,
string
>
>
Returns
string
encode
encode
(
content
)
:
EncodedContent
<
Record
<
string
,
string
>
>
Parameters
content
:
string
Returns
EncodedContent
<
Record
<
string
,
string
>
>
fallback
fallback
(
content
)
:
undefined
|
string
Parameters
content
:
string
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...