byteArrayOf
Returns an array containing the specified Byte numbers.
expect fun byteArrayOf(vararg elements: Byte): ByteArray(source)
val numbers = byteArrayOf(0x01, 0x02, 0x03, 0x04)
println(numbers.joinToString(prefix = "[", postfix = "]") { it.toString() })