Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
how to split QByteArray whit multi char
ARASHz4 last edited by ARASHz4
how can do this
byteArrayList = byteArray.split("*/*");
you can try to convert it to a QString and use its spit that
takes a string and not char as sep.
JonB last edited by
There is no "multi-char split" for a
QByteArray. One of:
splitif you can safely treat it as a string.
Use one of the overloads of
QByteArray::indexOf()in a loop to implement your own "split" (which ultimately is doubtless the code