Skip to main content

from_bytes

Function from_bytes 

Source
pub(crate) const fn from_bytes(nbytes: usize) -> u32
Expand description

Calculate a u32 representing a number of bits from the given number of bytes as a usize.