WHATWG Encoding Standard TextDecoder (global).
Also available via js.node.util.TextDecoder.
See also:
Constructor
Variables
Methods
decode(?input:EitherType<ArrayBuffer, ArrayBufferView>, ?options:{stream:Null<Bool>}):String
Decodes input and returns a string. When stream is true, incomplete
byte sequences may be buffered until a subsequent decode call.