TextConverterConvert(Stream, TextWriter) Method

Convert the contents of source from the InputFormat to the OutputFormat and uses the writer to write the resulting text.

Definition

Namespace: MimeKit.Text
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public virtual void Convert(
	Stream source,
	TextWriter writer
)

Parameters

source  Stream
The source stream.
writer  TextWriter
The text writer.

Remarks

Converts the contents of source from the InputFormat to the OutputFormat and uses the writer to write the resulting text.

Exceptions

ArgumentNullException

source is .

-or-

writer is .

See Also