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

ProcessBytes() public method

public ProcessBytes ( byte input, int inOff, int length, byte output, int outOff ) : void
input byte
inOff int
length int
output byte
outOff int
return void
		public void ProcessBytes(
			byte[]	input,
			int		inOff,
			int		length,
			byte[]	output,
			int		outOff)
		{
			if (outOff + length > output.Length)
				throw new DataLengthException("output buffer too small in ProcessBytes()");

			for (int i = 0; i != length; i++)
			{
				cipher.ProcessBlock(input, inOff + i, output, outOff + i);
			}
		}