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

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

public ProcessByte ( byte input ) : byte[]
input byte
Результат byte[]
		public override byte[] ProcessByte(
			byte input)
		{
			int outLength = GetUpdateOutputSize(1);

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

			int pos = ProcessByte(input, 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::ProcessByte ( byte input, byte output, int outOff ) : int