Hi, what's the difference between `someByteArray.r...
# kotlin-native
b
Hi, what's the difference between
someByteArray.refTo(0)
and
someByteArray.pinned{it.addressOf(0)}
? Which of them should I use, when I call a native function? And what shoud I do, when the function wants
CValuesRef<uint8_tVar /* = UByteVarOf<uint8_t /* = UByte */> */>
? Is it enough to do
someByteArray.asUByteArray().refTo(0)
?
👋 1
1
b
Thanks! So there is no difference at all?