I need to parse a .dat file which contains hexadecimal data. I need to parse the contents and store it as a text file. I have the .dat file and the header file. Can anyone tell me how should I start with it or what are the steps involved.