pub fn variable_int_len(value: u32) -> usizeExpand description
Calculates the number of bytes needed to encode a value (compatibility function)
This function provides compatibility with the old variable_byte module API.
Prefer using VariableInt::new(value)?.encoded_size() for new code.