TextConverterConvert(TextReader, Stream) Method

Convert the contents of reader from the InputFormat to the OutputFormat and writes the resulting text to destination.

Definition

Namespace: MimeKit.Text
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public virtual void Convert(
	TextReader reader,
	Stream destination
)

Parameters

reader  TextReader
The text reader.
destination  Stream
The destination stream.

Remarks

Converts the contents of reader from the InputFormat to the OutputFormat and writes the resulting text to destination.

Exceptions

ArgumentNullException

reader is .

-or-

destination is .

See Also