What is the advantage and disadvantage of stream processing and buffered processing. Can you give a few examples on each approach?
Since streaming is usually resource critical. So who should manage the lifetime of stream? For example. If we have a stream and a text reader who uses the stream. When should text reader closes the stream and when should not.
How large is your buffer that temporarily hode part of the text stream. 1 char? or many chars? Why.