TextConverterConvert(Stream, Stream) Method

Convert the contents of source 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(
	Stream source,
	Stream destination
)

Parameters

source  Stream
The source stream.
destination  Stream
The destination stream.

Remarks

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

Exceptions

ArgumentNullException

source is .

-or-

destination is .

See Also