// Token: 0x06001AC6 RID: 6854 RVA: 0x0004F6D8 File Offset: 0x0004D8D8
 public static void smethod_0(Stream inStream, Stream outStream, bool isStreamOwner)
 {
     if (inStream != null && outStream != null)
     {
         try
         {
             using (Stream1 stream = new Stream1(inStream))
             {
                 stream.IsStreamOwner = isStreamOwner;
                 stream.smethod_5(outStream, new byte[4096]);
             }
             return;
         }
         finally
         {
             if (isStreamOwner)
             {
                 outStream.Close();
             }
         }
     }
     throw new Exception("Null Stream");
 }