module

Brotli::Enc::Hasher

The hasher interface consumed by create_backward_references (C accesses it through the Hasher vtable; here it is a module).

Instance methods

find_longest_match(dict : EncoderDictionary, data : Bytes, ring_buffer_mask : Int32, distance_cache : Slice(Int32), cur_ix : Int32, max_length : Int32, max_backward : Int32, dictionary_distance : Int32, max_distance : Int32, sr : HasherSearchResult) : Nil
Source
hash_type_length
Source
prepare(data : Bytes, one_shot : Bool, input_size : Int32) : Nil
Source
prepare_distance_cache(distance_cache : Slice(Int32)) : Nil
Source
stitch_to_previous_block(num_bytes : Int32, position : Int32, ringbuffer : Bytes, ringbuffer_mask : Int32) : Nil
Source
store(data : Bytes, mask : Int32, ix : Int32) : Nil
Source
store_lookahead
Source
store_range(data : Bytes, mask : Int32, ix_start : Int32, ix_end : Int32) : Nil
Source