Org.BouncyCastle.Crypto.BufferedIesCipher.ProcessBytes C# (CSharp) Method

ProcessBytes() public method

public ProcessBytes ( byte input, int inOff, int length ) : byte[]
input byte
inOff int
length int
return byte[]
		public override byte[] ProcessBytes(
			byte[]	input,
			int		inOff,
			int		length)
		{
			if (input == null)
				throw new ArgumentNullException("input");
			if (inOff < 0)
				throw new ArgumentException("inOff");
			if (length < 0)
				throw new ArgumentException("length");
			if (inOff + length > input.Length)
				throw new ArgumentException("invalid offset/length specified for input array");

			buffer.Write(input, inOff, length);
			return null;
		}