package js.htmlAvailable on js
TextEncoder takes a stream of code points as input and emits a stream of bytes. For a more scalable, non-native library, see
StringView– a C-like representation of strings based on typed arrays.
DOMString containing the name of the encoder, that is a string describing the method the
TextEncoder will use.
encode (input:String = ""):Uint8Array
Uint8Array containing utf-8 encoded text.
© 2005–2018 Haxe Foundation
Licensed under a MIT license.