YEnc Encoder(New Line Format, Int 32) Constructor
Initialize a new instance of the YEncEncoder class.
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 YEncEncoder(
NewLineFormat newLineFormat,
int maxLineLength = 128
)Parameters
- newLineFormat NewLineFormat
- The line ending format.
- maxLineLength Int32 (Optional)
- The line length to use, between 60 and 998 (inclusive).
Remarks
Creates a new yEnc encoder using the specified line endings.
Exceptions
| ArgumentOutOfRangeException | newLineFormat is not Dos or Unix, or maxLineLength is not between 60 and 998 (inclusive). |