list_to_u8/s8/u16/s16/u32/s32/u64/s64array


list_to_u8array(xs)
list_to_s8array(xs)
list_to_u16array(xs)
list_to_s16array(xs)
list_to_u32array(xs)
list_to_s32array(xs)
list_to_u64array(xs)
list_to_s64array(xs)
      

Return a u8/s8/u16/s16/u32/s32/u64/s64array with all the elements of the list xs. The list must contain only integer values.

Examples:


list_to_u8array([12, 123, 45])
// #u8[12, 123, 45]
      

Also see:

u8array_to_list
list_to_array


Core Module Index | Contents