vanniktech
11/23/2019, 6:12 PMmatej
05/19/2020, 4:30 PMvanniktech
05/19/2020, 7:50 PMKivia Brito
05/26/2020, 10:46 PMlet swiftByteArray = [UInt8](data)
let intArray : [Int8] = swiftByteArray.map { Int8(bitPattern: $0) }
let kotlinByteArray: KotlinByteArray = KotlinByteArray.init(size: Int32(swiftByteArray.count))
for (index, element) in intArray.enumerated() {
kotlinByteArray.set(index: Int32(index), value: element)
}
matej
06/23/2020, 1:06 PM