System.Security.Cryptography.FromBase64Transform.GetTempBuffer C# (CSharp) Method

GetTempBuffer() private method

private GetTempBuffer ( byte inputBuffer, int inputOffset, int inputCount, int &effectiveCount ) : byte[]
inputBuffer byte
inputOffset int
inputCount int
effectiveCount int
return byte[]
        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;
        }