get_bit

Function get_bit 

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

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