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

    Function decodeText

    • Decode RFC 2047 unstructured text using supplied parser options.

      Parameters

      • options: ParserOptions

        Parser options to use.

      • text: Uint8Array

        Text bytes to decode.

      • startIndex: number

        Starting byte index.

      • count: number

        Number of bytes to decode.

      Returns string

      The decoded text.

      startIndex or count is outside text.

    • Decode RFC 2047 unstructured text using supplied parser options.

      Parameters

      • options: ParserOptions

        Parser options to use.

      • text: Uint8Array

        Text bytes to decode.

      Returns string

      The decoded text.

    • Decode RFC 2047 unstructured text using default parser options.

      Parameters

      • text: Uint8Array

        Text bytes to decode.

      • OptionalstartIndex: number

        Starting byte index.

      • Optionalcount: number

        Number of bytes to decode.

      Returns string

      The decoded text.

      startIndex or count is outside text.