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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,57b537327d52e653 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!feeder3.cambrium.nl!feed.tweaknews.nl!newsfeed0.kamp.net!newsfeed.kamp.net!news.motzarella.org!motzarella.org!talisker.lacave.net!lacave.net!news.stack.nl!feeds.news.ox.ac.uk!news.ox.ac.uk!feed2.jnfs.ja.net!feed4.jnfs.ja.net!jnfs.ja.net!xara.net!gxn.net!194.159.246.34.MISMATCH!peer-uk.news.demon.net!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Byte streams Date: Fri, 10 Aug 2007 21:22:08 +0100 Organization: Pushface Message-ID: References: <1186082475.711489.104420@e9g2000prf.googlegroups.com> <1186146907.760721.37370@x40g2000prg.googlegroups.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 1186777328 13352 62.49.19.209 (10 Aug 2007 20:22:08 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Fri, 10 Aug 2007 20:22:08 +0000 (UTC) Cancel-Lock: sha1:YnCkvGWzslnrbktLsWd06aLn9Xw= User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (darwin) Xref: g2news2.google.com comp.lang.ada:1392 Date: 2007-08-10T21:22:08+01:00 List-Id: shaunpatterson@gmail.com writes: > Yeah, I definitely don't feel "comfortable" doing > Unchecked_Conversions all over the place. Of course, when you go out on the wire and then back you are doing a conversion which is actually unchecked .. if the sender does Float'Write and the receiver does Integer'Read through being confused about where in the byte stream it is, the results are going to be confused too. You may find 'Valid useful. Discipline is all!