From mboxrd@z Thu Jan 1 00:00:00 1970 Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: In memory Stream Date: Sun, 18 Feb 2024 11:06:11 +0100 Organization: A noiseless patient Spider Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sun, 18 Feb 2024 10:06:10 -0000 (UTC) Injection-Info: dont-email.me; posting-host="b11821256dd767875c04de89f6cd636b"; logging-data="1055687"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19HB/Ic+R64kfc4X3xoGnFDC43xQcEpGa0=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:ElgkVBxIgKHjCH3Y4d0dMb6LRQk= Content-Language: en-US In-Reply-To: Xref: news.eternal-september.org comp.lang.ada:66087 List-Id: On 2024-02-17 23:00, Lawrence D'Oliveiro wrote: > On Sat, 17 Feb 2024 10:19:22 +0100, Dmitry A. Kazakov wrote: > >> On 2024-02-16 22:54, Lawrence D'Oliveiro wrote: >> >>> On Fri, 16 Feb 2024 10:41:12 +0100, DrPi wrote: >>> >>>> I though I'll use a Stream writing/reading in/from the memory buffer. >>> >>> Wouldn’t be simplest to let the OS manage the buffering for you? >>> >>> >> >> That would make applications OS-dependent. > > That’s a standard POSIX function. I think even M****s*ft W**d*ws has > something resembling it. Yes, Windows has a POSIX layer which nobody ever uses. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de