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

    Class QuotedPrintableEncoder

    Incrementally encodes content using the quoted-printable encoding.

    Quoted-printable is often used in MIME to encode textual content outside the ASCII range so that text remains intact over 7-bit transports such as SMTP.

    Implements

    Index
    encoding: ContentEncoding = 'quoted-printable'

    The encoding that this encoder supports.

    • Encodes the specified input into the output buffer.

      Parameters

      • input: Uint8Array

        The input buffer.

      • startIndex: number

        The starting index of the input buffer.

      • length: number

        The length of the input range.

      • output: Uint8Array

        The output buffer.

      Returns number

      The number of bytes written to the output buffer.

      The input range is invalid or the output buffer is too small.

    • Encodes the specified input into the output buffer and flushes internal state.

      Parameters

      • input: Uint8Array

        The input buffer.

      • startIndex: number

        The starting index of the input buffer.

      • length: number

        The length of the input range.

      • output: Uint8Array

        The output buffer.

      Returns number

      The number of bytes written to the output buffer.

      The input range is invalid or the output buffer is too small.