Skip to main content

bit

Function bit 

Source
pub fn bit(key: &[u8], i: usize) -> u8
Expand description

Extract bit i of key, MSB-first: bit 0 is the most-significant bit of key[0]. Caller must ensure i < 8 * key.len().