Package-level declarations
Types
Link copied to clipboard
interface TextDecodeOptions
Link copied to clipboard
open class TextDecoder(label: String = definedExternally, options: TextDecoderOptions = definedExternally) : TextDecoderCommon
The TextDecoder
interface represents a decoder for a specific text encoding, such as UTF-8
, ISO-8859-2
, KOI8-R
, GBK
, etc.
Link copied to clipboard
Link copied to clipboard
interface TextDecoderOptions
Link copied to clipboard
open class TextDecoderStream( label: String = definedExternally, options: TextDecoderOptions = definedExternally) : GenericTransformStream, TextDecoderCommon
The TextDecoderStream
interface of the Encoding API converts a stream of text in a binary encoding, such as UTF-8 etc., to a stream of strings.
Link copied to clipboard
The TextEncoder
interface takes a stream of code points as input and emits a stream of UTF-8 bytes.
Link copied to clipboard
Link copied to clipboard
interface TextEncoderEncodeIntoResult
Link copied to clipboard
The TextEncoderStream
interface of the Encoding API converts a stream of strings into bytes in the UTF-8 encoding.