Java is big endian. C endianness depends on CPU. In iphone simulator on x86 based Mac, C is little endian. Jave has problem loading a binary file saved by an iphone app run in iphone simulator. When saving the binary file to be opened by a Java program, each variable needs to reverse the byte order.
No comments:
Post a Comment