Skip to main content

encode

Function encode 

Source
pub fn encode(strings: &[&[u8]]) -> Vec<u8> 
Expand description

Encode a batch of strings using FSST compression.

Trains a symbol table on the input, then encodes each string as a sequence of symbol indices and escaped literals.