mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-22 20:43:09 +00:00
Leave stream open for gzip streams
This commit is contained in:
parent
83a9ae7395
commit
b75e0e3994
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue