pub fn bit<T: PrimInt + NumCast>(bytes: &[u8], i: T) -> bool
Get i-th bit from bytes slice. Index i starts from 0.
i