get_remainder_bits

Function get_remainder_bits 

Source
fn get_remainder_bits(remainder: &[u8], remainder_len: usize) -> u64
Expand description

Read remainder bits from a slice.

Reads the specified number of bits from slice and returns them as a u64.

§Arguments

  • remainder - slice to the start of the bits
  • remainder_len - Number of bits to read (must be < 64)

§Returns

A u64 containing the bits in the least significant positions