Function bytes_to_slicebit

Source
pub fn bytes_to_slicebit<T>(bytes: &[u8], range: &Range<T>) -> Vec<bool>
where T: PrimInt + NumCast, Range<T>: Iterator<Item = T>,
Expand description

Convert (bytes slice + Range) representation into bits in forms of Vec<bool>.