Fix zlib compression
This commit is contained in:
parent
9f41dbc269
commit
a6a5f2ac50
Binary file not shown.
Binary file not shown.
@ -79,7 +79,7 @@ namespace Switch_Toolbox.Library.IO
|
|||||||
{
|
{
|
||||||
using (var zipStream = new DeflateStream(output, CompressionMode.Compress))
|
using (var zipStream = new DeflateStream(output, CompressionMode.Compress))
|
||||||
{
|
{
|
||||||
zipStream.Write(b, 2, b.Length);
|
zipStream.Write(b, 0, b.Length);
|
||||||
|
|
||||||
return output.ToArray();
|
return output.ToArray();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user