[Chicago-talk] Parsing a Hex file

Jay Strauss me at heyjay.com
Thu Jan 18 21:47:19 PST 2007


I have these datafiles from my loan origination software.  I want to
monkey with them.

The vendor lays the file out like:

byte1, byte2 = field number
byte3 = field length
bytes 4 - 256+4 = data value

Additionally byte1 and byte2 are not read together, instead to get the
proper value you must read them like: byte2byte1

Can anyone suggest a easy way to parse this file.  Do I really need to
walk the entire byte stream, manipulating and evaluating, and plucking
off values?


More information about the Chicago-talk mailing list