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

There should be a (class like) QStringTokenizer for QByteArray

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: 6.0, 6.1
    • Fix Version/s: None
    • Labels:
      None

      Description

      There are instances where we need to split a QByteArray on a separator in the Qt code base; and most likely also in user code (searching for QByteArray::split invocations in Qt itself finds plenty).

      With QByteArrayView, we have the necessary view class to support this.
      Note that QStringTokenizer takes a case-sensitivity parameter which does not make sense for QByteArray (which has no concept of encoding).

        Attachments

        For Gerrit Dashboard: QTBUG-91079
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            thiago Thiago Macieira
            Reporter:
            fabiankosmale Fabian Kosmale
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There is 1 open Gerrit change