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,5b3aa4bc9027f04e X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Date: Fri, 27 Mar 2009 12:57:38 +0100 From: Gautier User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.18) Gecko/20081031 SeaMonkey/1.1.13 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Unconstrained Arrays References: <1a8008fb-c840-45bc-824c-d10eec9fe569@d36g2000prf.googlegroups.com> <0caa9cf8-0620-4544-9b2c-2c9f24142b7f@v23g2000pro.googlegroups.com> <386b0e00-a1c6-4c5f-adf7-89b8543d0e2d@c11g2000yqj.googlegroups.com> <46281cbb-2804-41e8-87a0-251c9060d4d1@c36g2000yqn.googlegroups.com> <000dc793-a278-4379-b44e-e5aa7375b0fc@e38g2000yqa.googlegroups.com> In-Reply-To: <000dc793-a278-4379-b44e-e5aa7375b0fc@e38g2000yqa.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 85.3.196.217 X-Original-NNTP-Posting-Host: 85.3.196.217 Message-ID: <49ccbf2d$1_6@news.bluewin.ch> X-Trace: news.bluewin.ch 1238155053 85.3.196.217 (27 Mar 2009 12:57:33 +0100) Organization: Bluewin AG Complaints-To: abuse@bluewin.ch X-Original-NNTP-Posting-Host: 127.0.0.1 Path: g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns13feed!worldnet.att.net!164.128.36.58!news.ip-plus.net!newsfeed.ip-plus.net!news.bluewin.ch!not-for-mail Xref: g2news1.google.com comp.lang.ada:4367 Date: 2009-03-27T12:57:38+01:00 List-Id: sjw: > My current problem is with this .. > > type Stream_Type > (Buffer : access Ada.Streams.Stream_Element_Array) > is new Ada.Streams.Root_Stream_Type with private; Don't know if it helps, but here is an in-memory stream (Unbounded_Stream) with random access: http://unzip-ada.sourceforge.net/za_html/zip_streams__ads.htm _________________________________________________________ Gautier's Ada programming -- http://sf.net/users/gdemont/ NB: For a direct answer, e-mail address on the Web site!