At times, it would be handy to have streams that operated on in-memory entities (i.e, a string, stringbuffer, or array of strings), at least in read mode. This would allow any process that took input from a stream object to substitute an in-memory version.
Anonymous