Bailey Pollard
12/13/2021, 7:40 PMvalue: kotlinx.cinterop.CValuesRef<platform.posix.uint8_tVar>
Bailey Pollard
12/13/2021, 7:41 PMvalue="ASCDF"
Dominaezzz
12/13/2021, 10:25 PMcValues<uint8_tVar>('A'.toByte(), ......)
Dominaezzz
12/13/2021, 10:26 PM"ASCDF".cstr.getPointer(....).reinterpret<uint8_tVar>()
Bailey Pollard
12/13/2021, 10:42 PMnapperley
12/13/2021, 10:42 PMCValuesRef
will accept a CPointer
, CArrayPointer
but not a CValue
. Think of the Ref part of CValuesRef
providing the hint that it is dealing with a Pointer, or anything that is similar to a Pointer (eg CArrayPointer
).napperley
12/13/2021, 10:49 PMBailey Pollard
12/13/2021, 10:52 PMDominaezzz
12/13/2021, 11:04 PMnapperley
12/13/2021, 11:46 PM