Pass |
public int Encode( 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. |