tarek
UInt8Array
ByteArray
ByteArray(uintArray.length) { uintArray[it] }
diesieben07
Int8Array
val uint8 = Uint8Array(10) val int8 = Int8Array(uint8.buffer) val byteArray = int8.unsafeCast<ByteArray>()
val uint8 = Uint8Array(10) val int8 = Int8Array(uint8.buffer.slice(0)) val byteArray = int8.unsafeCast<ByteArray>()
A modern programming language that makes developers happier.