@svta/common-media-library
    Preparing search index...

    Type Alias DecodeTextOptionsBeta

    Options for the decodeText function.

    type DecodeTextOptions = {
        encoding?: Encoding;
        exitOnNull?: boolean;
    }
    Index

    Properties

    encoding?: Encoding

    The encoding to use. If not provided, the function will try to detect the encoding from the BOM.

    exitOnNull?: boolean

    Whether to exit on the first null byte.