YEnc Reader Constructor
Initialize a yEnc reader.
Definition
Namespace: MimeKit.Encodings
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public YEncReader(
Stream stream,
YEncOptions? options = null,
bool leaveOpen = false
)Parameters
- stream Stream
- The readable source.
- options YEncOptions (Optional)
- The options, or for defaults.
- leaveOpen Boolean (Optional)
- Whether to leave the source open when disposed.
Remarks
The options are copied; the source need not support seeking.
Exceptions
| ArgumentNullException | stream is . |
| ArgumentException | The source is not readable. |