BACnet.Core.MultiBufferStream._nextBuffer C# (CSharp) Method

_nextBuffer() private method

Advances to the next buffer
private _nextBuffer ( ) : bool
return bool
        private bool _nextBuffer()
        {
            bool ret = false;
            _bufferIndex++;

            if(_bufferIndex < _buffers.Count)
            {
                _buffer = _buffers[_bufferIndex];
                _offset = _buffer.Offset;
                ret = true;
            }

            return ret;
        }