1
0
mirror of synced 2024-11-27 17:00:50 +01:00

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)))
{