bit_lib_get_bits_32

Function bit_lib_get_bits_32 

Source
pub unsafe extern "C" fn bit_lib_get_bits_32(
    data: *const u8,
    position: usize,
    length: u8,
) -> u32
Expand description

Get the bits of a data, as uint32_t.

§Arguments

  • data - The data to get the bits from.
  • position - The position of the first bit.
  • length - The length of the bits.

§Returns

The bits.