bit_array_to_list


bit_array_to_list(b)
      

Return a list of integers corresponding to the bits in the bit array b.

Examples:


let b = #b[0, 1, 1, 0, 1]
bit_array_to_list(b)
// [0, 1, 1, 0, 1]
      

Also see:

list_to_bit_array
string_to_bit_array
u8array_to_bit_array


Core Module Index | Contents