pub fn shannon_fano_compress(input: &[u8]) -> Vec<u8> ⓘ
Compress a byte slice with a manual Shannon-Fano encoder.