how to split QByteArray whit multi char
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.
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