Function data_encoding::base::dec
[−]
[src]
pub fn dec<B: Base>(base: &B) -> usize
Returns the decoding length of a base.
The decoding length of a base is the number of symbols it takes
before decoding loops. In other words, the decoding length is
len(base) / base.bit()
.
Panics
May panic if base
does not satisfy the Base
invariants.