[REBOL] Re: retrieving values in binary files
From: larry:ecotope at: 1-Oct-2002 10:16
Hi Hugues,
You can find funtions to read and write binary IEEE doubles in the package
decimal.r written by Eric Long and myself.
http://www.nwlink.com/~ecotope1/reb/decimal.r
Cheers
Larry
----- Original Message -----
From: "Hugues Moisy" <[hugues--moisy--geosignal--fr]>
To: "Rebol List" <[rebol-list--rebol--com]>
Sent: Tuesday, October 01, 2002 7:08 AM
Subject: [REBOL] retrieving values in binary files
> Hello Rebolers,
>
> I'm beginner in Rebol, and I'm trying to retrive values in binary files.
These files contain geographical coordinates, stores as doubles (4 or 8
bytes big-endian).
> I can easily retrieve integer values stored in big-endian or little-endian
format, but an don't know how to retrieve floating values stored as floats
or doubles in binary format (big-endian or little-endian).