pub fn encode(data: &[u8], out: &mut Vec<u8>)
Huffman-encodes data, appending to out (padded with the EOS prefix).
data
out