Skip to main content

bits_required

Function bits_required 

Source
pub fn bits_required(max_index: usize) -> u8
Expand description

Returns the minimum bit width needed to represent max_index.