internal System.IO.Stream GetEncodedStream(System.IO.Stream stream)
 {
     System.IO.Stream stream2 = stream;
     if (this.TransferEncoding == System.Net.Mime.TransferEncoding.Base64)
     {
         return(new Base64Stream(stream2, new Base64WriteStateInfo()));
     }
     if (this.TransferEncoding == System.Net.Mime.TransferEncoding.QuotedPrintable)
     {
         return(new QuotedPrintableStream(stream2, true));
     }
     if (this.TransferEncoding == System.Net.Mime.TransferEncoding.SevenBit)
     {
         stream2 = new SevenBitStream(stream2);
     }
     return(stream2);
 }
 internal System.IO.Stream GetEncodedStream(System.IO.Stream stream)
 {
     System.IO.Stream stream2 = stream;
     if (this.TransferEncoding == System.Net.Mime.TransferEncoding.Base64)
     {
         return new Base64Stream(stream2, new Base64WriteStateInfo());
     }
     if (this.TransferEncoding == System.Net.Mime.TransferEncoding.QuotedPrintable)
     {
         return new QuotedPrintableStream(stream2, true);
     }
     if (this.TransferEncoding == System.Net.Mime.TransferEncoding.SevenBit)
     {
         stream2 = new SevenBitStream(stream2);
     }
     return stream2;
 }