docs: private int findFrom(char c, int index) {
          int currentIdx = index;
          while (currentIdx < buffer.length()) {
              if (buffer.get(currentIdx) == c) {
                  return currentIdx;
              }
              currentIdx++;
          }
          return -1;
      }