pub fn encode_with(values: &[i64], chooser: &dyn Chooser) -> Result<Vec<u8>>Expand description
encode with somebody else deciding which candidates are worth encoding in full.
A chooser narrows the list and nothing else. It cannot offer a candidate that does not apply, so
whatever it picks still has to encode the whole chunk and still has to decode, and the worst a
bad one can do is come out bigger than encode would have.
ยงErrors
As encode.