Buy Me a Coffee

Buy Me a Coffee!

Friday, February 10, 2017

Reading Structured Binary files in C#: Part 6

For tonight I just want to dump the sections that we read last time out as binary dumps.  I will go back and print out the skipped sections and eventually dissect/decode the sections, but for now I want to just get a feel for the remaining data.  To that end, I have added the following code:
to the end of the DissectFile method. The WriteStartingAddress method is as follows:
I have checked in the code to the new repository.
I am also using GitHubGist to store and format the coding examples.  In the earlier articles I used Manoli.net's C# Code Format tool and embedded the code within the article.  Let me know which one you like better.
May all your code compile cleanly!