From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,90b27c91e19c3731 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!news2.volia.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Alex R. Mosteo" Newsgroups: comp.lang.ada Subject: Re: I/O streaming with custom data transport Date: Wed, 22 Nov 2006 17:30:02 +0100 Message-ID: <4sjc4gFvsgjqU1@mid.individual.net> References: <4sgsgoFvn3caU1@mid.individual.net> <4silcoFvv69nU1@mid.individual.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: individual.net pkqeFQ0UZkxCCuYYYezvqg0vEa6ipur1o/oenXv4iKwM5Mul0= User-Agent: KNode/0.10.4 Xref: g2news2.google.com comp.lang.ada:7647 Date: 2006-11-22T17:30:02+01:00 List-Id: Maciej Sobczak wrote: > Alex R. Mosteo wrote: > >> About traps, more complex streams may require special care: for example, >> imagine your characters are multi-byte and you receive an incomplete >> character code in the write function. > > Sure. > > But what about buffering the input/output. Is this already done (where?) > or is this something I have to take care of? Not in the standard library AFAIK.