Function decoded_len

Source
pub const fn decoded_len(len: 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(2), 2);
assert_eq!(c32::decoded_len(5), 5);