YDecoderDecode(Byte, Int |
public int Decode( byte[] input, int startIndex, int length, byte[] output )
Exception | Condition |
---|---|
ArgumentNullException | input is null. -or- output is null. |
ArgumentOutOfRangeException | startIndex and length do not specify a valid range in the input byte array. |
ArgumentException | output is not large enough to contain the encoded content. Use the EstimateOutputLength(Int32) method to properly determine the necessary length of the output byte array. |
Decodes the specified input into the output buffer.
The output buffer should be large enough to hold all of the decoded input. For estimating the size needed for the output buffer, see EstimateOutputLength(Int32).