I've already got a flag in my class (probably will change to a directive)
which byte shifts depending on big or little endian.

Tony Sinclair
Holliday Group Limited
Christchurch
New Zealand


-----Original Message-----
From: Nello Sestini [mailto:[EMAIL PROTECTED]]
Sent: Friday, 4 August 2000 12:41
To: Multiple recipients of list delphi
Subject: Re: [DUG]: Coverting Binary Streams


>I've decided to do this, we will see how much of an uproar it makes :-)
>
>CopyMemory(@wrdValue, @abytData[3], 2);


probably ok for now - but you'll have portability problems
later when you move to the unix version of Delphi on
a big-endian platform.    <VBG>

ns



---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to