hex_to_bool_array returns littleEndian