TextCodec
Class: TextCodec
Implements
ContentCodec
<string
>
Constructors
constructor
new TextCodec()
Accessors
contentType
get
contentType(): ContentTypeId
Returns
Implementation of
Defined in
Methods
decode
decode(content
): string
Parameters
Name | Type |
---|---|
content | EncodedContent |
Returns
string
Implementation of
Defined in
encode
encode(content
): EncodedContent
Parameters
Name | Type |
---|---|
content | string |