Il 16/09/2015 12:28, Tom Isaacson ha scritto:
If I want to convert a QByteArray to quint32 I can use:
quint32 result = QByteArray("1234").toUInt();
But what if I want to convert a longer array to quint64? Writing cross-platform
code requires a mix of _strtoi64() and strtoull(). Is there a
If I want to convert a QByteArray to quint32 I can use:
quint32 result = QByteArray("1234").toUInt();
But what if I want to convert a longer array to quint64? Writing cross-platform
code requires a mix of _strtoi64() and strtoull(). Is there a simple way of
doing this in Qt?
Thanks,
Tom