mirror of
https://github.com/chylex/Brotli-Builder.git
synced 2024-12-22 16:42:46 +01:00
15 lines
480 B
C#
15 lines
480 B
C#
using BrotliImpl.Combined.Hashers;
|
|
using BrotliImpl.Combined.Hashers.Types;
|
|
using BrotliLib.Brotli.Parameters;
|
|
|
|
namespace BrotliImpl.Combined{
|
|
public class CompressQuality3 : CompressQualityMedium{
|
|
private protected override IHasher CreateHasher(byte[] bytes, BrotliFileParameters fileParameters){
|
|
return new HashLongestMatchQuickly.Configure{
|
|
BucketBits = 16,
|
|
SweepBits = 1
|
|
}.Build(bytes);
|
|
}
|
|
}
|
|
}
|