Function data_encoding::decode::decode_len [] [src]

pub fn decode_len<B: Base>(base: &B, len: usize) -> usize

Converts an input length to its output length.

This function is meant to be used in conjunction with decode_mut.

Panics

May panic if base does not satisfy the Base invariants.