public override int Read(byte[] buffer, int index, int count)
 {
     using (_stream.DoNotConvert())
     {
         return(base.Read(buffer, index, count));
     }
 }
        public override void Write(byte[] buffer)
        {
            if (buffer == null)
            {
                throw new ArgumentNullException(nameof(buffer));
            }

            using (_stream.DoNotConvert())
            {
                base.Write(buffer);
            }
        }