Function awint_internals::chars_upper_bound[][src]

pub fn chars_upper_bound(
    significant_bits: usize,
    radix: u8
) -> Result<usize, SerdeError>
Expand description

This takes an input of significant bits and gives an upper bound for the number of characters in the given radix needed to represent those bits.