D
dm3281
Hello, I have a text report from a mainframe that I need to parse.
The report has about a 2580 byte header that contains binary information
(garbage for the most part); although there are a couple areas that have
ASCII text that I need to extract. At the end of the 2580 bytes, I can read
the report like a standard text file. It should have CR/LF at the end of
each line.
What is the best way for me to read this report using C#. It is almost like
I need to access the file using seek() or something and then read it using
ReadLine() or something.
I have a sample file here. The extension is .BIN to cause your browser to
prompt for the file download.
http://members.verizon.net/dm3281/misc/TEST.BIN
Any assistance or sample code would be appreciated.
The report has about a 2580 byte header that contains binary information
(garbage for the most part); although there are a couple areas that have
ASCII text that I need to extract. At the end of the 2580 bytes, I can read
the report like a standard text file. It should have CR/LF at the end of
each line.
What is the best way for me to read this report using C#. It is almost like
I need to access the file using seek() or something and then read it using
ReadLine() or something.
I have a sample file here. The extension is .BIN to cause your browser to
prompt for the file download.
http://members.verizon.net/dm3281/misc/TEST.BIN
Any assistance or sample code would be appreciated.