rustc_serialize::leb128

Function max_leb128_len

source
pub const fn max_leb128_len<T>() -> usize
Expand description

Returns the length of the longest LEB128 encoding for T, assuming T is an integer type