M
MB
Hi,
I have a binary file generated by a Delphi program. I can read all
strings (prefix length strings) but I can't get the float right.
Example: Somewhere in the Hex below store: 40.0 Single (Delphi = 4
bytes)
Hex From file: 00 00 00 00 20 42 00 00 00
- I assume to read 00 00 20 42 but can read from any pos ...
I have tried any type of read and conversion but can't get this one
right (or any floats) from the file.
Any an all help is much appreciated
I have a binary file generated by a Delphi program. I can read all
strings (prefix length strings) but I can't get the float right.
Example: Somewhere in the Hex below store: 40.0 Single (Delphi = 4
bytes)
Hex From file: 00 00 00 00 20 42 00 00 00
- I assume to read 00 00 20 42 but can read from any pos ...
I have tried any type of read and conversion but can't get this one
right (or any floats) from the file.
Any an all help is much appreciated