Function u8bits::get_bit

source ·
pub fn get_bit(b: &u8, pos: u8) -> bool
Expand description

Get the bit at position ‘pos’ of byte ‘b’.