private void Advance(int count) { if (_position > _endOffset) throw new EndOfStreamException(); _position += count; }