MLE text encoding API(mle-js-encodings)
    Preparing search index...

    Type Alias TextDecoderOptions

    Options given to the constructor of TextDecoder.

    type TextDecoderOptions = {
        fatal?: boolean;
        ignoreBOM?: boolean;
    }
    Index

    Properties

    Properties

    fatal?: boolean

    Controls the error mode of the decoder. If set to true an exception is thrown on invalid byte sequences. Otherwise, the replacement code point will be used. Default: false.

    ignoreBOM?: boolean

    Controls whether the BOM (Byte Order Mark) should be checked. If set to true the BOM will not be checked/removed. Default: false.