@cto.af/wtf8 - v0.0.5
    Preparing search index...

    Interface Wtf8DecodeOptions

    interface Wtf8DecodeOptions {
        bufferSize?: number;
        fatal?: boolean;
        ignoreBOM?: boolean;
    }

    Hierarchy

    • TextDecoderOptions
      • Wtf8DecodeOptions
    Index

    Properties

    bufferSize?: number

    The number of code units (16bits each) to reserve as workspace when the decoder is constructed. Defaults to Wtf8Decoder.DEFAULT_BUFFERSIZE (4096), which was the smaller of the numbers that performed slightly better on my local machine.

    fatal?: boolean
    ignoreBOM?: boolean