On Tue, 7 Dec 2010, Philippe Marschall wrote: snip
No, buffering should not be in a subclass or even the file stream class itself. Buffering should be an other class that wraps file stream.
Stream wrappers are cool, but they are totally different from the current stream design. One could create new stream classes that could do buffering, conversion, compression, etc. and rewrite existing code to use them, but if you just rewrite the existing code using an existing stream library (for example XTreams), then you'll get pretty much the same thing with less effort.
Levente
Cheers Philippe
