fun putbytes2Uint8s( destUint8s: CharArray, srcBytes: ByteArray, destOffset: Int, srcOffset: Int, count: Int ) { for (i in 0 until count) { destUint8s[destOffset + i] = convertByte2Uint8(srcBytes[srcOffset + i]) } }
Put byte [ ] into char [ ] ( we treat char [ ] as uint8 [ ] )