binary field export problem
"Shanon Mulley" <[email protected]>
| Newsgroups | gmane.comp.db.mdb-tools.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello, I'm using mdbtools to pull information out of a binary field (adobe photo album 2.0). In this binary field, each 4 bytes represents an integer, so when I use the mdb tools to dump the data out of this field, I can convert the hexademical to decmial, to give me the number I want. What it is giving me is something like this: 1900000033000000320000002600000027000000 Every 8 characters represents on value (an integer). My problem is, that mdbtools seems to right fill each value with zeros. So, I can never be quite sure if the zeros are padding, or if they are part of the value. For example, from above, is the value "19", with 6 zeros padding it, or is it "190", with 5 zeros padding it? Is there some way of making the padding happening the other way around (left filling with zeros), so I'll know exactly where the padding starts and the value ends? Or am I missing something here? Any help would be appreciated. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642