Ok how would you go in the oposite direction.
I have a file wrriten in binary from an old legacy program so there is no serialization attributes. The first two bytes is an integer that allows me to determine the layout of the rest of the file.
I read in hte first two bytes into an array and want to put that into an integer. In addition there will be doubles, longs, int and string values wrriten into the file. Do I do the general same thing for all numeric values (doubles, int, longs).
Thanks
