Brotli::Enc::StaticDict
Constants
HASH_MUL32 = 506832829_u32
Class methods
find_all_static_dictionary_matches(dict : EncoderDictionary, data : Bytes, pos : Int32, min_length : Int32, max_length : Int32, matches : Slice(UInt32)) : Bool
static_dict.c:72 — the whole match/transform chain. matches holds
K_INVALID_MATCH on entry for every len. Returns has_found_match.
match_length(dict : Bytes, d : Int32, data : Bytes, s : Int32, limit : Int32) : Int32
find_match_length between two DIFFERENT buffers (dictionary word and ring buffer); C FindMatchLengthWithLimit with two pointers.