Re: Binary file byte ordering



groufosse@xxxxxxx wrote:

Hello:

I have a question that I hope someone experienced with Delphi can
answer...

I am using a program to read a binary file that was written in Delphi.

I think I misread the first time. I assume you are not using Delphi to
read the file? Delphi Extended types (10 byte floating point types) are
stored low byte first. The format is the same as the IEEE format:

http://webster.cs.ucr.edu/AoA/DOS/ch14/CH14-1.html#HEADING1-52



--
Rudy Velthuis http://rvelthuis.de

"Computer dating is fine, if you're a computer."
-- Rita May Brown.
.



Relevant Pages

  • Re: Assigning Variables at runtime?
    ... > I'm a newbie to Delphi, and newsgroups so please be patient. ... > I have a binary file containing blocks of 194 bytes of data. ...
    (comp.lang.pascal.delphi.misc)
  • Re: Copy portions of array
    ... binary file. ... When compiled VB is astonishingly fast at dealing with Byte Arrays, ... discovered this when I wrote a Delphi DLL for sorting large files. ... I gave the DLL an option to CallBack to VB to perform the comparison, ...
    (microsoft.public.vb.general.discussion)
  • Re: Binary file byte ordering
    ... I am using a program to read a binary file that was written in Delphi. ... precision type, which is 10 bytes. ... - What is the ordering of the bytes....The endian-ness? ...
    (alt.comp.lang.borland-delphi)
  • Assigning Variables at runtime?
    ... I'm a newbie to Delphi, and newsgroups so please be patient. ... I have a binary file containing blocks of 194 bytes of data. ...
    (comp.lang.pascal.delphi.misc)
  • Re: Untyped file declaration throws an error
    ... and I'm trying to read a binary file. ... >to declare a variable as an untyped file, ... >I know that is a lot of unnecessary uses, but I'm a newbie to Delphi ...
    (alt.comp.lang.borland-delphi)