mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-22 04:23:09 +00:00
Use higher zstd compression level
This commit is contained in:
parent
360bb640a8
commit
59fffbc42a
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ namespace Toolbox.Library
|
||||||
return decompressor.Unwrap(b, MaxDecompressedSize);
|
return decompressor.Unwrap(b, MaxDecompressedSize);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
public static byte[] SCompress(byte[] b, int level = 5)
|
public static byte[] SCompress(byte[] b, int level = 19)
|
||||||
{
|
{
|
||||||
using (var compressor = new ZstdNet.Compressor(new ZstdNet.CompressionOptions(level)))
|
using (var compressor = new ZstdNet.Compressor(new ZstdNet.CompressionOptions(level)))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue