It's about making statistics about disk access timings, and compare direct writing vs paging. Thanks -- (:==================:) �lvaro Iradier airadier@able.es (+34)660133259 (:==================:) "David C. Hoos, Sr." 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" > 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 > > > > > >