mimekit-ts - v1.0.0
    Preparing search index...

    Function decodeTextWithCodePage

    • Decode RFC 2047 unstructured text and report the most common encoded-word code page.

      Parameters

      • options: ParserOptions

        Parser options to use.

      • text: Uint8Array

        Text bytes to decode.

      • startIndex: number = 0

        Starting byte index.

      • count: number = ...

        Number of bytes to decode.

      Returns DecodedHeaderValue

      The decoded text and code page.

      startIndex or count is outside text.