docs: public static int readUntil (final StringBuilder out, final String in, final int start, final char... end)
    {
      int pos = start;
      while (pos < in.length ())
      {
        final char ch = in.charAt (pos);
        if (ch == '\\' && pos + 1 < in.length ())
        {
          pos = _escape (out, in.charAt (pos + 1), pos);
        }
        else
        {
          boolean endReached = false;
          for (final char element : end)
          {
            if (ch == element)
            {
              endReached = true;
              break;
            }
          }
          if (endReached)
            break;
          out.append (ch);
        }
        pos++;
      }
  
      return pos == in.length () ? -1 : pos;
    }