Org.BouncyCastle.Crypto.BufferedAeadBlockCipher.ProcessBytes C# (CSharp) Метод

ProcessBytes() публичный Метод

public ProcessBytes ( byte input, int inOff, int length ) : byte[]
input byte
inOff int
length int
Результат byte[]
		public override byte[] ProcessBytes(
			byte[]	input,
			int		inOff,
			int		length)
		{
			if (input == null)
				throw new ArgumentNullException("input");
			if (length < 1)
				return null;

			int outLength = GetUpdateOutputSize(length);

			byte[] outBytes = outLength > 0 ? new byte[outLength] : null;

			int pos = ProcessBytes(input, inOff, length, outBytes, 0);

			if (outLength > 0 && pos < outLength)
			{
				byte[] tmp = new byte[pos];
				Array.Copy(outBytes, 0, tmp, 0, pos);
				outBytes = tmp;
			}

			return outBytes;
		}

Same methods

BufferedAeadBlockCipher::ProcessBytes ( byte input, int inOff, int length, byte output, int outOff ) : int