Streaming library
Kagamin
spam at here.lot
Fri Oct 15 14:25:35 PDT 2010
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?
More information about the Digitalmars-d
mailing list