What type do people use to pass raw data back and ...
# kotlin-native
b
What type do people use to pass raw data back and forth between the K/N and iOS/Android?
ByteArray
?
o
Maybe use platform-specific expect/actual, for native good implementation could be https://github.com/JetBrains/kotlin-native/blob/master/runtime/src/main/kotlin/kotlin/native/concurrent/MutableData.kt
b
RIght within native,
MutableData
could make sense. I think we're just going to use
ByteArray
and then add platfom-specific extensions that allow easy conversion to the platform-native type 🤷‍♂️