示例#1
0
        public byte[] Take(int size)
        {
            TakeCallCount++;
            TakeSize.Add(size);

            return(new byte[size]);
        }
示例#2
0
        public void Reset()
        {
            TakeCallCount = 0;
            TakeSize.Clear();

            ReturnCallCount = 0;
            ReturnBuffer.Clear();
        }