I want to partition a QByteArray message efficiently, so this function I implemented take the Bytes, the part I want to extract, and toEnd flag which tells if I want to extr
Why not make it a regular QString and use split. That will give you a QStringList.