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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,64599bfe530783cd X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-23 21:39:23 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Any examples of Byte Ordering Functions Date: 24 Oct 2003 05:37:13 +0100 Organization: Pushface Sender: simon@smaug.pushface.org Message-ID: References: <1066243458.911546@master.nyc.kbcfp.com> NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.demon.co.uk 1066970363 2033 62.49.19.209 (24 Oct 2003 04:39:23 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Fri, 24 Oct 2003 04:39:23 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Xref: archiver1.google.com comp.lang.ada:1573 Date: 2003-10-24T05:37:13+01:00 List-Id: Simon Wright writes: > pautet@antigone.enst.fr (Laurent Pautet) writes: > > > >I'm trying to implement reading 16 bit words from a stream with a given > > >endianess (that is the endianess of the items in the stream is known), > > > > have a look at s-strxdr.adb in gnat. > > This is only in supported versions, I think (3.16a1, 5.01a). > > The same (or very similar) text is in the version of s-strattr.adb in > the public glade-3.15p sources. Sorry, that should have been s-stratt.adb (System.Stream_Attributes) -- Simon Wright 100% Ada, no bugs.