Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-103108

QIODevice is missing QTextStream-line readLineInto()

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P2: Important
    • None
    • None
    • Core: I/O
    • None
    • 8
    • Foundation PM Prioritized, Foundation Sprint 69, Foundation Sprint 70, Foundation Sprint 71

    Description

      QTextStream has QString readLine() as well as readLineInto(QString*, qint64 max), QIODevice only has QByteArray readLine() and lacks readLineInto(QByteArray*, qint64 max).

      The idea behind the -Into-functions is to preserve capacity in the string/byte-array from one line to the next, a la std::getline, unlike readLine(), which allocates a new buffer for each line.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              mate Máté Barany
              mmutz Marc Mutz
              Vladimir Minenko Vladimir Minenko
              Alex Blasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes