TextDecoder
Last updated
Last updated
• Docs
/ / TextDecoder
A subset of NodeJS TextDecoder API. Only support utf-8 and latin1 encoding.
new TextDecoder(
encoding
):
Parameters
• encoding: string
= "utf-8"
Returns
Defined in
encoding:
string
="utf-8"
Defined in
decode(
a
):string
Parameters
• a: Uint8Array
Returns
string
Defined in