pub fn encode(
encoding: DictionaryEncoding,
body: &[u8],
dictionary: &[u8],
level: Level,
) -> Option<Vec<u8>>Expand description
body compressed against dictionary, with the magic and hash in
front. None when the coding isn’t compiled in, either input is over
MAX_SIZE, or the encoder fails.