private byte[] GetTempBuffer(byte[] inputBuffer, int inputOffset, int inputCount, out int effectiveCount)
{
byte[] temp;
if (_whitespaces == FromBase64TransformMode.IgnoreWhiteSpaces)
{
temp = DiscardWhiteSpaces(inputBuffer, inputOffset, inputCount);
effectiveCount = temp.Length;
}
else
{
temp = new byte[inputCount];
Buffer.BlockCopy(inputBuffer, inputOffset, temp, 0, inputCount);
effectiveCount = inputCount;
}
return temp;
}