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,43ad9ab56ebde91c X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.191.41 with SMTP id gv9mr9301720pbc.5.1323696807899; Mon, 12 Dec 2011 05:33:27 -0800 (PST) Path: lh20ni14100pbb.0!nntp.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!bloom-beacon.mit.edu!newsswitch.lcs.mit.edu!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Does Ada support endiannes? Date: Mon, 12 Dec 2011 08:33:27 -0500 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <23835087-313f-427c-b37e-4ff1bdef9d57@r6g2000yqr.googlegroups.com> <20e631fc-e7b4-41ca-be0f-aab8be3f9a25@f33g2000yqh.googlegroups.com> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 X-Trace: pcls6.std.com 1323696807 15741 192.74.137.71 (12 Dec 2011 13:33:27 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Mon, 12 Dec 2011 13:33:27 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:9JzxydsuitCoD48hiYWkiNvm8rk= Content-Type: text/plain; charset=us-ascii Date: 2011-12-12T08:33:27-05:00 List-Id: Gerd writes: > Any suggestion on how to convert, others than using "/" and "mod"? GNAT has a package called GNAT.Byte_Swapping in g-bytswa.ads. - Bob