http://www.tutorialspoint.com/csharp/csharp_binary_files.htm