![]() |
|
#1
|
|||
|
|||
|
Hi everyone,
I have some difficulties parsing a binary file in Delphi (XE2). My line-by-line parsing code works for a standard text file but fails for the binary equivalent. The file wasn’t generated by me and not with Delphi although it has a quite simple structure - header with structure description (which seems to have an ASCII format in the binary file) and a tab-delimited data table. I already tried with simple hex conversions and binary read mode although I feel that I’m going the wrong way. I’m not expecting a ready-to-go solution but at least a hint on where to start would be extremely useful. Here is an example of the data file (both text and its binary equivalent): https://rapidshare.com/files/1968461287/data_files.zip Thank you for any help. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|