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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no 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!postnews.google.com!x40g2000prg.googlegroups.com!not-for-mail From: shaunpatterson@gmail.com Newsgroups: comp.lang.ada Subject: Re: Byte streams Date: Fri, 03 Aug 2007 06:15:07 -0700 Organization: http://groups.google.com Message-ID: <1186146907.760721.37370@x40g2000prg.googlegroups.com> References: <1186082475.711489.104420@e9g2000prf.googlegroups.com> NNTP-Posting-Host: 155.219.241.10 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: posting.google.com 1186146908 19320 127.0.0.1 (3 Aug 2007 13:15:08 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 3 Aug 2007 13:15:08 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20060329 Red Hat/1.7.12-1.1.2.3,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: x40g2000prg.googlegroups.com; posting-host=155.219.241.10; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Xref: g2news2.google.com comp.lang.ada:1350 Date: 2007-08-03T06:15:07-07:00 List-Id: Yeah, I definitely don't feel "comfortable" doing Unchecked_Conversions all over the place. I think I'm going to change everything over to Streams and use GNAT.Sockets. It seems this way works much the same way as Java's ByteBuffer in reading/writing integers, characters, etc safely. Safety and correctness is what I want. Thanks -- Shaun