QuotedPrintableDecoderEstimateOutputLength Method

Estimate the length of the output.

Definition

Namespace: MimeKit.Encodings
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

Int32
The estimated output length.

Implements

IMimeDecoderEstimateOutputLength(Int32)

Remarks

Estimates the number of bytes needed to decode the specified number of input bytes.

Exceptions

ArgumentOutOfRangeException The estimated output length is too large to be represented as an Int32.

See Also