Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
BrotliUtils.cs
Go to the documentation of this file.
2
3internal static class BrotliUtils
4{
6 {
7 return level switch
8 {
9 CompressionLevel.Optimal => 11,
10 CompressionLevel.NoCompression => 0,
11 CompressionLevel.Fastest => 1,
12 CompressionLevel.SmallestSize => 11,
13 _ => (int)level,
14 };
15 }
16}
static int GetQualityFromCompressionLevel(CompressionLevel level)
Definition BrotliUtils.cs:5