QString::QString(const QByteArray &ba) copying full array.
Unsolved
General and Desktop
-
Is there some method or contructor or function that copy from QByteArray to Qstring WHITOUT stopping at the first 0 byte??.
I need to convert QByteArray to qstring and to have a full lenght converted. Since my QByteArray contains some zeros, actrually using QString contructor from const QBytearray will truncate my QBytearray to first 0.
Is there some way to do that??Thanks