Re: I/O streaming with custom data transport



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.
.