From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,19b0bf5b6906d2e7 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!news.bawue.net!news.belwue.de!LF.net!news.enyo.de!not-for-mail From: Florian Weimer Newsgroups: comp.lang.ada Subject: Re: Using GNAT.Sockets with Streams and Byte Swapping Date: Thu, 26 May 2005 23:02:00 +0200 Message-ID: <87vf55ya47.fsf@deneb.enyo.de> References: <1117014486.871500.288200@g44g2000cwa.googlegroups.com> <1117099711.738704.120930@g47g2000cwa.googlegroups.com> <1117107317.975801.33390@f14g2000cwb.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: albireo.enyo.de 1117141321 29885 212.9.189.177 (26 May 2005 21:02:01 GMT) X-Complaints-To: Cancel-Lock: sha1:m0pG+tCah32h+vueBalstTnA+3s= Xref: g2news1.google.com comp.lang.ada:11174 Date: 2005-05-26T23:02:00+02:00 List-Id: * Simon Wright: > You're welcome (and I'm glad it didn't turn out to be so difficult > after all!) Mark is not using an Ada 95 compiler, it seems. It used to be more difficult because the size of the base type determined the number of stream elements used, and the representation clause doesn't change it.