I would like to replace some text in a NetworkStream. Ideally by using a Regex to find what I want to replace. The consuming part takes a Stream and I would not like to modify it.
I image something like this?
Stream outputStream = new StreamChanger(inputStream, "apple", "banana");
Is there an existing component or pattern which can do this?