pub fn decode_natural<I: Iterator<Item = bool>>(
iter: &mut I,
bound: Option<usize>,
) -> Result<usize, Error>Expand description
Decode a natural number from bits. If a bound is specified, then the decoding terminates before trying to decode a larger number.