1) Reading INDETIFY DEVICE data documentation.
Can you explain me what does "15:9 Reserved" mean?
2) I need to read binary file with device identification parameters and to parse it. Can I do it using QByteArray?
1) Reading INDETIFY DEVICE data documentation.
Can you explain me what does "15:9 Reserved" mean?
2) I need to read binary file with device identification parameters and to parse it. Can I do it using QByteArray?
Usually something being "reserved" means it is not being used yet by the current version of a format.
What the numbers mean really depends on the specification at hand.
Could mean "at position 15 with a length of 9", for example.
Yes.
You can either use QFile::readAll() to get the full file content into a single byte array or use QFile::seek() to jump to a specific position and then use QFile::read() to read a number of bytes from that position onwards.
Cheers,
_
Hi, from my experience 15:9 are bit numbers, e.g. in a 16bit word this means the upper seven bits.
Ginsengelf
Bookmarks