docs: private static String readQuotedString(Buffer buffer) throws EOFException {
      if (buffer.readByte() != '\"') throw new IllegalArgumentException();
      Buffer result = new Buffer();
      while (true) {
        long i = buffer.indexOfElement(QUOTED_STRING_DELIMITERS);
        if (i == -1L) return null; // Unterminated quoted string.
  
        if (buffer.getByte(i) == '"') {
          result.write(buffer, i);
          // Consume '"'.
          buffer.readByte();
          return result.readUtf8();
        }
  
        if (buffer.size() == i + 1L) return null; // Dangling escape.
        result.write(buffer, i);
        // Consume '\'.
        buffer.readByte();
        result.write(buffer, 1L); // The escaped character.
      }
    }