- Apr 6, 2002
- 7,141
- 1
- 0
I've been doing some google searches but haven't come up with a good explanation yet.
Edit: The Java program I'm writing is supposed to take a binary data file created on an iBook, account for the little endian/big endian difference, and print the data out. The C structure written to the file is:
char name[30]
char e-mail[30]
char flags
float gpa
The first 3 are 30 bytes, 30 bytes, and 1 byte respectively, but the last one?
Edit: The Java program I'm writing is supposed to take a binary data file created on an iBook, account for the little endian/big endian difference, and print the data out. The C structure written to the file is:
char name[30]
char e-mail[30]
char flags
float gpa
The first 3 are 30 bytes, 30 bytes, and 1 byte respectively, but the last one?