Function bit

Source
pub fn bit<T: PrimInt + NumCast>(bytes: &[u8], i: T) -> bool
Expand description

Get i-th bit from bytes slice. Index i starts from 0.