[Qt-interest] Binary & ASCII in QByteArray

Paul England pengland at cmt-asia.com
Tue Aug 3 09:58:02 CEST 2010


Hi

I'm not very familiar with parsing binary data, other than casting
something that I'm expecting.

I've got a file from a program that has Binary & ASCII values in it. 
I've taken a look at hexdump and I have a rough idea of what it looks
like, but other than that, kind of stumped.  I can read it in to a
QByteArray() but after that, I'm a bit lost on what I should do.
Obviously "messing around" to find out how many bytes to read in at a
time is the way to go.  Hoping to find some pointers (or maybe some
tricks unique to QByteArray) before that endeavor.

Cheers
Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100803/0274d5e4/attachment.html 


More information about the Qt-interest-old mailing list