Use higher zstd compression level

This commit is contained in:
KillzXGaming 2023-10-18 19:47:14 -04:00
parent 360bb640a8
commit 59fffbc42a

View file

@ -70,7 +70,7 @@ namespace Toolbox.Library
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)))
{