A collection of useful streams for encoding, decoding, scanning or manipulating other streams.
using(var magicStream = inputStream.RegexFindReplace(replacements).Base64Encode())
{
magicStream.CopyTo(outputStream);
}
Please visit the wiki for more documentation.