const fn upper_bound(bits: u32) -> usize
Compute the upper bound for the encoded length of a integer type as a VarInt.
This is a private function only called at compile-time, hence why it panics on unexpected input.