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

    Class MimeContent

    Represents MIME content backed by a readable, seekable stream.

    The content can be opened raw, copied as stored, or decoded according to its transfer encoding.

    Index
    encoding: ContentEncoding

    The content-transfer-encoding used by the stored stream.

    newLineFormat: NewLineFormat | "mixed" | null = null

    The detected newline format of the content, when known.

    stream: Stream | null

    The backing stream, or null after disposal.

    • Writes the encoded content to another stream.

      Parameters

      • stream: Stream

        The destination stream.

      Returns void

      stream is null or this content has been disposed.

    • Decodes the content to another stream.

      Parameters

      • stream: Stream

        The destination stream.

      Returns void

      stream is null or this content has been disposed.