Denis Koroskin Wrote:

> ubyte[] read() and ubyte[] read(size_t size) both require buffering (e.g.  
> BufferedStream adapter). As such, it can provide stronger guaranties over  
> raw streams.

What do you plan to do if user requests too much data from BufferedStream? 
Ideally stream can allocate big buffer and store it in a weak pointer for it to 
be both memory and allocation-wise, but we don't have weak pointers, do we?

Reply via email to