Hi! How does Kotlin Native handle C structure pad...
# kotlin-native
t
Hi! How does Kotlin Native handle C structure padding? As far as I know there is no official standard for this. My application would handle a large amount of binary data in a predefined data structure. In C/C++ I created structs that map to the data and I used the pragma pack to avoid the compiler shuffling things around. I might work around the issue by handling specifics manually, but it would be very nice to know what's going on actually. Thanks