mirror of
https://github.com/chylex/Brotli-Builder.git
synced 2024-11-24 22:42:50 +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);
|
|
}
|
|
}
|
|
}
|