Options

data class Options : Record

Decoder Options

Specifies options for TextDecoder instances; instances of these options can be provided to the TextDecoder constructor to specify how the decoder should behave.

Types

Link copied to clipboard
object Companion

Factories and default values for text decoder options.

Properties

Link copied to clipboard

When set to true, the decoder will throw an error if it encounters an invalid byte sequence.

Link copied to clipboard

When set to true, the decoder will ignore a byte order mark (BOM) at the beginning of the input.