Okay so I'm sure you've all played games. Maybe some of you wanted to see what the files looked like.

Some game-files are .ini with text, and then there are some which you can't open in a normal text editor. You would have to use a hex editing tool, but how would you accomplish something similar in C#?

Would is be practical to use StreamReader and StreamWriter or something that reads bytes?

Some links and samples would be nice.