Function byte_to_int_bit_array

Source
pub fn byte_to_int_bit_array(byte: u8) -> Vec<u8> 
Expand description

Convert a single byte to an 8-length vector of bits (MSB first).

Original code padded leading zeros until length 8.