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

    Class FlowedToText

    A flowed text to text converter.

    Unwraps flowed text as described in RFC 3676.

    Hierarchy (View Summary)

    Index
    deleteSpace: boolean = false

    Gets or sets whether the trailing space on a wrapped line should be deleted.

    The flowed text format defines a Content-Type parameter called delsp which can have a value of yes or no. If the parameter exists and the value is yes, set this property to true; otherwise set it to false.

    detectEncodingFromByteOrderMark: boolean = false

    Gets or sets whether byte input encoding is detected from the byte order mark or determined by inputEncoding.

    header: string | null = null

    Gets or sets text prepended to the beginning of the output.

    The header must be set before conversion begins.

    footer: string | null = null

    Gets or sets text appended to the end of the output.

    The footer must be set before conversion begins.

    • get inputStreamBufferSize(): number

      Gets or sets the input stream buffer size.

      Returns number

      value is less than or equal to zero.

    • set inputStreamBufferSize(value: number): void

      Parameters

      • value: number

      Returns void

    • get outputStreamBufferSize(): number

      Gets or sets the output stream buffer size.

      Returns number

      value is less than or equal to zero.

    • set outputStreamBufferSize(value: number): void

      Parameters

      • value: number

      Returns void

    • Converts source text from the input format to the output format and writes the result.

      Parameters

      • source: string | Uint8Array<ArrayBufferLike> | Stream

        The source text, bytes, or stream.

      • writer: TextWriter

        The text writer.

      Returns void

      source or writer is null or undefined.

    • Converts source text from the input format to the output format and writes the result to a stream.

      Parameters

      • source: string | Uint8Array<ArrayBufferLike> | Stream

        The source text, bytes, or stream.

      • destination: Stream

        The destination stream.

      Returns void

      destination is null or undefined.

    • Converts text from the input format to the output format.

      Parameters

      • text: string | Uint8Array<ArrayBufferLike> | Stream

        The text, bytes, or stream to convert.

      Returns string

      The converted text.

      text is null or undefined.