pub fn int_to_bits(n: usize, num_bits: usize) -> Vec<u8> ⓘ
Calculate the bit representation of an integer