u8array_to_bit_array


u8array_to_bit_array(a)
      

Return a bit array initialized from the bits in the u8array a.

Examples:


u8array_to_bit_array(#u8[1, 2, 3])
// #b[0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1]
      

Also see:

string_to_bit_array


Core Module Index | Contents