Click or drag to resize
MimeKit

Base64Encoder Constructor

Initialize a new instance of the Base64Encoder class.

Namespace: MimeKit.Encodings
Assembly: MimeKit (in MimeKit.dll) Version: 4.17.0
Syntax
C#
public Base64Encoder(
	int maxLineLength = 76
)

Parameters

maxLineLength  Int32  (Optional)
The maximum number of octets allowed per line (not counting the CRLF). Must be between 60 and 998 (inclusive).
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionmaxLineLength is not between 60 and 998 (inclusive).
Remarks

Creates a new base64 encoder.

Note  Note
Specifying a maxLineLength value over 76 octets will be ignored and capped at 76.
See Also