Fields

@:optionaloptionalignoreBOM:Null<Bool>

When true, the TextDecoder will include the byte order mark in the decoded result. When false, the byte order mark will be removed from the output. This option is only used when encoding is 'utf-8', 'utf-16be' or 'utf-16le'.

Default: false.

@:optionaloptionalfatal:Null<Bool>

true if decoding failures are fatal. This option is only supported when ICU is enabled (see Internationalization).

Default: false.