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.1 required=5.0 tests=AXB_XMAILER_MIMEOLE_OL_024C2, BAYES_00,MAILING_LIST_MULTI,REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,CP1252 X-Google-Thread: 103376,604393fcefde729a X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-04-15 03:16:04 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!skynet.be!skynet.be!newsfeed00.sul.t-online.de!t-online.de!deine.net!teaser.fr!enst!enst.fr!not-for-mail From: "David C. Hoos, Sr." Newsgroups: comp.lang.ada Subject: Re: In-memory Streams Date: Mon, 15 Apr 2002 05:15:46 -0500 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: References: Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 8bit X-Trace: avanie.enst.fr 1018865763 37456 137.194.161.2 (15 Apr 2002 10:16:03 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Mon, 15 Apr 2002 10:16:03 +0000 (UTC) Return-Path: X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.8 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Original-Cc: darkelf@aim.homelinux.com X-Original-Cc: airadier@able.es Xref: archiver1.google.com comp.lang.ada:22542 Date: 2002-04-15T05:15:46-05:00 One can write an in-memory stream, but I'm curious; if all you're going to do when you've written the stream to memory is to then write the data to a file, why don't you just write the data directly to a file, using Ada.Stream_IO? ----- Original Message ----- From: "Nazgul" Newsgroups: comp.lang.ada To: Sent: April 15, 2002 4:20 AM Subject: In-memory Streams > 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? > > Thanks > > -- > > (:==================:) > �lvaro Iradier > airadier@able.es > (+34)660133259 > (:==================:) > > > _______________________________________________ > comp.lang.ada mailing list > comp.lang.ada@ada.eu.org > http://ada.eu.org/mailman/listinfo/comp.lang.ada > >