benkuly
07/28/2021, 10:23 AMsomeByteArray.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)?benkuly
07/30/2021, 1:46 PM