Leave stream open for gzip streams

This commit is contained in:
KillzXGaming 2019-09-27 20:09:55 -04:00
parent 83a9ae7395
commit b75e0e3994

View file

@ -44,7 +44,7 @@ namespace Toolbox.Library
stream.Position = startPosition;
var mem = new System.IO.MemoryStream();
using (GZipStream source = new GZipStream(stream, CompressionMode.Decompress, false))
using (GZipStream source = new GZipStream(stream, CompressionMode.Decompress, true))
{
source.CopyTo(mem);
}