[Qt-interest] QByteArray and hexademical representation

Arnold Krille arnold at arnoldarts.de
Thu May 28 09:46:48 CEST 2009


On Thursday 28 May 2009 07:33:14 Parker wrote:
> Sorry, I tried, it just seems I'm not up to some basic concepts...

You still didn't tell us anything about what you tried and what didn't work!

What about this:

qDebug() << QByteArray( "some text" ).toHex();

Does it do what I think it does? (that is to give a hex representation of that 
array of char values)

Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090528/19dbc67a/attachment.bin 


More information about the Qt-interest-old mailing list