/// <summary> /// Clears the entire buffer. /// </summary> public void Clear() { _buffer.Clear(); CursorIndex = 0; }