19 QByteArrayView str(
"FF");
21 int hex = str.toInt(&ok, 16);
22 int dec = str.toInt(&ok, 10);
28 QByteArrayView str(
"FF");
30 long hex = str.toLong(&ok, 16);
31 long dec = str.toLong(&ok, 10);
37 QByteArrayView string(
"1234.56 Volt");
39 float a = string.toFloat(&ok);
40 a = string.first(7).toFloat(&ok);
void myfun1(QAnyStringView sv)
[0]
void myfun2(const QAnyStringView &sv)
void fun(QByteArrayView bv)
[0]