Brotli::Enc::Histogram
Inherits Reference < Object
histogram_inc.h — a simple container for histograms of data in blocks.
Constructors
command
Sourcedistance
Sourceliteral
Sourcenew(data_size : Int32, data : Slice(UInt32), total_count : UInt32, bit_cost : Float64)
Sourcenew(data_size : Int32)
SourceInstance methods
add(val : Int) : Nil
Sourcebit_cost
Sourcebit_cost=(bit_cost : Float64)
Sourcecopy_from(other : Histogram) : Nil
Sourcedata
Sourcedata_size
Sourcetotal_count
Sourcetotal_count=(total_count : UInt32)
Source