YEnc EncoderEstimate Output Length Method
Estimate the length of the output.
Definition
Namespace: MimeKit.Encodings
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
The estimated output length.
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public int EstimateOutputLength(
int inputLength
)Parameters
- inputLength Int32
- The input length.
Return Value
Int32The estimated output length.
Implements
IMimeEncoderEstimateOutputLength(Int32)Remarks
Estimates the number of bytes needed to encode the specified number of input bytes.
Exceptions
| ArgumentOutOfRangeException | The estimated output length is too large to be represented as an Int32. |