elect
07/19/2017, 9:11 AMString.format("#%02X%02X%02X%02X", *i)
nkiesel
07/19/2017, 8:47 PMarrayOf(3,2,1).run { "#%02X%02X%02X".format(*this) }
works for me. Note that this only works for arrays and not for lists.elect
07/19/2017, 9:07 PMType mismatch. Required: Array<out Any?> Found: IntArray