Hey :slightly_smiling_face: I’m trying to share so...
# multiplatform
p
Hey 🙂 I’m trying to share some of the code between the Android, iOS, C & Python. However, I’m having a hard time to understand how to use my function properly in C.
Copy code
libparser_kref_LogHeader (*fromBytes)(libparser_kref_LogHeader_Companion thiz, libparser_kref_kotlin_ByteArray bytes);
In the C code I’m reading a binary file via the stdin and I’d like to create the ByteArray and pass it to the Kotlin code. Any tips, please?