From mboxrd@z Thu Jan 1 00:00:00 1970 Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "J-P. Rosen" Newsgroups: comp.lang.ada Subject: Re: In memory Stream Date: Fri, 16 Feb 2024 11:40:54 +0100 Organization: Adalog Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Fri, 16 Feb 2024 10:40:48 -0000 (UTC) Injection-Info: dont-email.me; posting-host="97d75b29b4949261ba48b327b3589f5f"; logging-data="4016273"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX181jX49JqaDcl3OgrRa+kls" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:fztuSuLByN9Ic6Spax6S0HPI1Ww= Content-Language: en-US, fr In-Reply-To: Xref: news.eternal-september.org comp.lang.ada:66059 List-Id: Le 16/02/2024 à 10:41, DrPi a écrit : > Hi, > > I want to transfert some data between applications through a memory buffer. > The buffer transfert between applications is under control. > My problem is with the buffer content. > I though I'll use a Stream writing/reading in/from the memory buffer. > How can I achieve this ? I've found no example doing this. > Note : I use Ada 2012. > I don't know if this is what you want, but at least it is an example of using streams... Package Storage_Streams, from Adalog's components page: https://adalog.fr/en/components.html#Storage_Stream -- J-P. Rosen Adalog 2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX https://www.adalog.fr https://www.adacontrol.fr