Пример #1
0
        public IProtocolBuffer Pop()
        {
            IProtocolBuffer result = null;

            if (!mPool.TryPop(out result))
            {
                result = CreateBuffer();
            }

            result.Reset();
            return(result);
        }