Skip to main content

bytes_for

Function bytes_for 

Source
pub const fn bytes_for(bits: usize) -> usize
Expand description

Number of bytes needed to hold bits packed elements.

bits  0  1  8  9 64 65
bytes 0  1  1  2  8  9