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

There should be a (class like) QStringTokenizer for QByteArray

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 6.0, 6.1
    • 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

            cnn Qt Core & Network
            fabiankosmale Fabian Kosmale
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There is 1 open Gerrit change