public void IncreaseBuffer() { var bufferPool = new ByteBufferPool(65536, 1); var buffer = bufferPool.Pop(); Assert.NotNull(buffer); Assert.Equal(65536, buffer.Length); }
public void OutOfBuffers() { var bufferPool = new ByteBufferPool(65536, 1); bufferPool.Pop(); }