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,cdc06d48151b2720 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!208.49.83.146.MISMATCH!uns-out.usenetserver.com!news.usenetserver.com!pc03.usenetserver.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail Newsgroups: comp.lang.ada Subject: Re: Byte Swapping in Ada References: <1177613699.956152.39280@n15g2000prd.googlegroups.com> From: Stephen Leake Date: Fri, 27 Apr 2007 07:47:01 -0400 Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) Cancel-Lock: sha1:8/oI3JJFG0coBjO4AnioJkRPLGo= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: 9f5654631e2b7759e00d425006 Xref: g2news1.google.com comp.lang.ada:15348 Date: 2007-04-27T07:47:01-04:00 List-Id: markp writes: > Does Ada provide any built-in byte swapping routines such as ntohl, > htons, etc.? Not in a standard library. See SAL.Network_Order.*, at http://stephe-leake.org/ada/sal.html I used to have the SAL source available for web browsing, but I ran out of web space; I'm working on it :). -- -- Stephe