Is it possible to reinterpret cast Kotlin primitiv...
# kotlin-native
p
Is it possible to reinterpret cast Kotlin primitives/objects for example like ByteArray to IntArray or is limited to actual C types?
e
no, Kotlin arrays are not simple pointers but contain type information as well
oh right, they also contain length and that would be wrong after a primitive reinterpret cast