TextDecoderStream

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

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