TextDecoderStream

open class TextDecoderStream(    label: String = definedExternally,     options: TextDecoderOptions = definedExternally) : GenericTransformStream, TextDecoderCommon(source)

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.

MDN Reference

Constructors

Link copied to clipboard
constructor(label: String = definedExternally, options: TextDecoderOptions = definedExternally)

Properties

Link copied to clipboard
open val encoding: String

Returns encoding's name, lowercased.

Link copied to clipboard
open val fatal: Boolean

Returns true if error mode is "fatal", otherwise false.

Link copied to clipboard
open val ignoreBOM: Boolean

Returns the value of ignore BOM.

Link copied to clipboard
Link copied to clipboard