comp.lang.ada
 help / color / mirror / Atom feed
From: " "@deneb.cygnus.argh.org (Florian Weimer)
Subject: Re: Decoding an octet stream
Date: 1999/11/30
Date: 1999-11-30T09:22:48+00:00	[thread overview]
Message-ID: <87puwsmizb.fsf@deneb.cygnus.argh.org> (raw)
In-Reply-To: 81u247$kc3$1@hobbes2.crc.com

"David C. Hoos, Sr." <david.c.hoos.sr@ada95.com> writes:

>       if System.Default_Bit_Order = System.Low_Order_First then
>          Swap (The_Bytes);
>       end if;

Does this really work?  I thought that System.Default_Bit_Order
hasn't got to do anything with octet ordering issues (aka endianess).
After all, there are more than just two methods of combining four octets
to a 32 bit integer (for example).




  reply	other threads:[~1999-11-30  0:00 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-28  0:00 Decoding an octet stream Florian Weimer
1999-11-29  0:00 ` David C. Hoos, Sr.
1999-11-30  0:00   ` Florian Weimer [this message]
1999-12-03  0:00     ` Robert Dewar
1999-12-01  0:00   ` Robert Dewar
1999-12-01  0:00     ` Geoff Bull
1999-12-01  0:00       ` Robert Dewar
1999-12-01  0:00     ` David C. Hoos, Sr.
1999-12-01  0:00       ` swhalen
1999-12-01  0:00         ` Larry Kilgallen
1999-12-01  0:00           ` Kenneth Almquist
1999-12-02  0:00             ` Geoff Bull
1999-12-02  0:00               ` Stupid patent tricks (was: Decoding an octet stream) Ted Dennison
1999-12-06  0:00               ` Decoding an octet stream Kenneth Almquist
1999-12-01  0:00         ` Florian Weimer
1999-12-02  0:00           ` Ted Dennison
1999-12-02  0:00             ` tmoran
1999-12-02  0:00           ` Robert Dewar
1999-12-02  0:00           ` Geoff Bull
1999-12-02  0:00             ` Lutz Donnerhacke
1999-12-02  0:00         ` Geoff Bull
1999-12-02  0:00           ` swhalen
1999-12-02  0:00             ` Larry Kilgallen
1999-12-03  0:00               ` swhalen
1999-12-04  0:00                 ` Robert Dewar
1999-12-04  0:00                 ` Geoff Bull
1999-12-06  0:00                   ` Robert Dewar
1999-12-03  0:00               ` Geoff Bull
1999-12-06  0:00               ` Richard D Riehle
1999-12-06  0:00                 ` Ed Falis
1999-12-07  0:00                   ` Ted Dennison
1999-12-08  0:00                 ` Robert Dewar
1999-12-08  0:00                   ` Brian Rogoff
1999-12-02  0:00           ` Robert Dewar
1999-12-08  0:00         ` Numeric types Mario Amado Alves
1999-12-08  0:00           ` Tucker Taft
1999-12-01  0:00       ` Decoding an octet stream Robert Dewar
1999-12-01  0:00       ` Robert Dewar
1999-12-07  0:00         ` Stefan Skoglund
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox