Function decoded_len

Source
pub const fn decoded_len(n: usize) -> usize
Expand description

Computes the required capacity for decoding from Crockford Base32.

ยงExamples

assert_eq!(c32::decoded_len(0), 0);
assert_eq!(c32::decoded_len(1), 1);
assert_eq!(c32::decoded_len(2), 2);