docs: public void checkLimit(int len) {
          if(cursor == -1) {
              cursor = buffer.start;
              lineptr = buffer.start;
              linectptr = buffer.start;
              marker = buffer.start;
          }
          limit = buffer.start + len;
      }