IMime DecoderEstimate 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#
int EstimateOutputLength(
int inputLength
)Parameters
- inputLength Int32
- The input length.
Return Value
Int32The estimated output length.
Remarks
Estimates the number of bytes needed to decode the specified number of input bytes,
including any buffered input emitted by Flush(Byte, Int32, Int32, Byte).
Exceptions
| ArgumentOutOfRangeException | The estimated output length is too large to be represented as an Int32. |