Does anyone know where I can find a Stream splitter implementation?
I\'m looking to take a Stream, and obtain two separate streams that can be independently read a
This could be tricky without risking keeping everything buffered in memory (if the streams are at BOF and EOF respectively).
I wonder whether it isn't easier to write the stream to disk, copy it, and have two streams reading from disk, with self-deletion built into the Close()
(i.e. write your own Stream
wrapper around FileStream
).