From: "David C. Hoos, Sr." <david.c.hoos.sr@ada95.com>
Subject: Re: In-memory Streams
Date: Mon, 15 Apr 2002 05:15:46 -0500
Date: 2002-04-15T05:15:46-05:00 [thread overview]
Message-ID: <mailman.1018865763.2910.comp.lang.ada@ada.eu.org> (raw)
In-Reply-To: a9e61a$2dgdq$1@ID-107015.news.dfncis.de
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" <darkelf@aim.homelinux.com>
Newsgroups: comp.lang.ada
To: <comp.lang.ada@ada.eu.org>
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
>
>
next prev parent reply other threads:[~2002-04-15 10:15 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-15 9:20 In-memory Streams Nazgul
2002-04-15 10:15 ` David C. Hoos, Sr. [this message]
2002-04-15 10:23 ` Nazgul
2002-04-15 14:52 ` Ted Dennison
2002-04-15 13:07 ` Nazgul
2002-04-15 14:56 ` Ted Dennison
2002-04-15 15:06 ` Nazgul
2002-04-15 15:20 ` Ken Burtch
-- strict thread matches above, loose matches on Subject: below --
2017-11-13 21:23 In-memory streams Victor Porton
2017-11-14 5:51 ` Per Sandberg
2017-11-14 6:22 ` bj.mooremr
2017-11-14 7:17 ` gautier_niouzes
2017-11-14 9:08 ` Jacob Sparre Andersen
2017-11-14 9:31 ` Dmitry A. Kazakov
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox