comp.lang.ada
 help / color / mirror / Atom feed
From: "Nazgul" <darkelf@aim.homelinux.com>
Subject: Re: In-memory Streams
Date: Mon, 15 Apr 2002 15:07:41 +0200
Date: 2002-04-15T15:07:41+02:00	[thread overview]
Message-ID: <a9ejc7$2hsgn$1@ID-107015.news.dfncis.de> (raw)
In-Reply-To: mailman.1018865763.2910.comp.lang.ada@ada.eu.org

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1483 bytes --]

Anyway, how can i implement an in-memory stream?

Thanks.

--

 (:==================:)
     �lvaro Iradier
    airadier@able.es
     (+34)660133259
 (:==================:)

"David C. Hoos, Sr." <david.c.hoos.sr@ada95.com> escribi� en el mensaje
news:mailman.1018865763.2910.comp.lang.ada@ada.eu.org...
> 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
> >
> >
>
>





  parent reply	other threads:[~2002-04-15 13:07 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.
2002-04-15 10:23   ` Nazgul
2002-04-15 14:52     ` Ted Dennison
2002-04-15 13:07   ` Nazgul [this message]
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