Function std::collections::bitv::from_bytes[src]

pub fn from_bytes(bytes: &[u8]) -> Bitv

Transform a byte-vector into a Bitv. Each byte becomes 8 bits, with the most significant bits of each byte coming first. Each bit becomes true if equal to 1 or false if equal to 0.