A simple question:
Some C(++) program has written a lot of ints an doubles to a file. (I know the order of these.) I have to read them in perl (to integers and float point numbers).
Help me with some code.
Ints are 4 bytes, doubles 8.
File byte order: most significant byte first.
I could find it out my self, but have don't have the time right now.