.net - C# Reading a binary text file without knowing the format of the file -


ok have binary text file written using binarywriter. format of file has been lost due poor documentation.

im using binaryreader read file way can through trial , error stepping through file , guessing whether should using readint64(), readstring() etc of binaryreader class.

is there anyway step through file , automatically determine next value format is?

no. binarywriter not pack type information written file, there no way reverse-engineering - other trial & error, have found out.


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

VBA function to include CDATA -