Skip to main content

pack

Function pack 

Source
pub const fn pack(layer: Layer, freq_score: u64) -> u64
Expand description

Pack (layer, freq_score) into a single u64 FST value. freq_score must fit in 56 bits; higher bits are silently truncated.