示例#1
0
        private void Swap()
        {
            Position = 0;
            var fileStream = RESTarConfig.MakeTempFile();

            using (var memoryStream = (MemoryStream)Stream)
                memoryStream.WriteTo(fileStream);
            Stream  = fileStream;
            Swapped = true;
        }