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, or GBK. A decoder takes an array of bytes as input and returns a JavaScript string.
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. It is the streaming equivalent of TextDecoder.
Link copied to clipboard
The TextEncoder interface enables you to encode a JavaScript string using UTF-8.
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. It is the streaming equivalent of TextEncoder.