struct

Brotli::Enc::BackwardMatch

Inherits Struct < Value < Object

hash.h:212 — a backward match candidate (dictionary matches also carry a length code in the low 5 bits).

Constructors

init_dictionary_match(distance : Int32, length : Int32, length_code : Int32) : BackwardMatch
Source
init_match(distance : Int32, length : Int32) : BackwardMatch
Source
new(distance : UInt32 = 0_u32, length_and_code : UInt32 = 0_u32)
Source

Instance methods

distance
Source
distance=(distance : UInt32)
Source
length
Source
length_and_code
Source
length_and_code=(length_and_code : UInt32)
Source
length_code

0 means "same as length".

Source