Click or drag to resize
MimeKit

SecureMimeContextDecompressTo Method

Decompress the specified stream to an output stream.

Namespace:  MimeKit.Cryptography
Assembly:  MimeKit (in MimeKit.dll) Version: 3.0.0
Syntax
C#
public virtual void DecompressTo(
	Stream stream,
	Stream output,
	CancellationToken cancellationToken = default
)

Parameters

stream
Type: System.IOStream
The stream to decompress.
output
Type: System.IOStream
The output stream.
cancellationToken (Optional)
Type: System.ThreadingCancellationToken
The cancellation token.
Exceptions
ExceptionCondition
ArgumentNullException

stream is null.

-or-

output is null.

OperationCanceledException The operation was canceled via the cancellation token.
CmsException An error occurred in the cryptographic message syntax subsystem.
Remarks
Decompresses the specified stream to an output stream.
See Also