package js.htmlAvailable on js
TextDecoderinterface represents a decoder for a specific method, that is a specific character encoding, like
gbk, ... A decoder takes a stream of bytes as input and emits a stream of code points. For a more scalable, non-native library, see
StringView– a C-like representation of strings based on typed arrays.
new (label:String = "utf-8", ?options:TextDecoderOptions)
DOMString containing the name of the decoder, that is a string describing the method the
TextDecoder will use.
Boolean indicating whether the error mode is fatal.
decode (?input:EitherType<ArrayBufferView, ArrayBuffer>, ?options:TextDecodeOptions):String
© 2005–2018 Haxe Foundation
Licensed under a MIT license.