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.1 required=5.0 tests=BAYES_00, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,604393fcefde729a X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-04-15 08:06:59 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsmi-us.news.garr.it!newsmi-eu.news.garr.it!NewsITBone-GARR!fu-berlin.de!uni-berlin.de!73155-cm.able.ES!not-for-mail From: "Nazgul" Newsgroups: comp.lang.ada Subject: Re: In-memory Streams Date: Mon, 15 Apr 2002 17:06:19 +0200 Message-ID: References: <4519e058.0204150656.e8d2e7a@posting.google.com> NNTP-Posting-Host: 73155-cm.able.es (212.97.173.155) X-Trace: fu-berlin.de 1018883218 2597225 212.97.173.155 (16 [107015]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Xref: archiver1.google.com comp.lang.ada:22554 Date: 2002-04-15T17:06:19+02:00 List-Id: It's just "Storage Pools" sounds good ;) I have no idea what they are for... Thanks very much -- (:==================:) �lvaro Iradier airadier@able.es (+34)660133259 (:==================:) "Ted Dennison" escribi� en el mensaje news:4519e058.0204150656.e8d2e7a@posting.google.com... > "Nazgul" wrote in message news:... > > Hi, I need to create a 512 bytes buffer in memory, in which I can write date > > like in a stream ('output). Then, when the buffer is full, I have to write > > it to a file, for example with Buffer'Output, or once byte each time, but > > the raw content, no headers or something, just the raw 512 bytes. > > > > Where should I begin to look at? Something to do with storage pools? > > It sounds pretty simple to me. You just need to derive a type from > Ada.Streams.Root_Stream_Type, then write your own versions of Read and > Write (see the package spec in the ARM at > http://www.ada-auth.org/~acats/arm-html/RM-13-13-1.html ). I don't > know why you think storage pools would need to get involved. > > > -- > T.E.D. > Home - mailto:dennison@telepath.com (Yahoo: Ted_Dennison) > Homepage - http://www.telepath.com/dennison/Ted/TED.html