Endian refers to the why in which the particular hardware platform stores multibyte values. Intel chips are usually little indian and motorola chips are usually big endian.
0xABCD writting to a file on Windows would be
DCBA
and on mac
ABCD
I think I got that right. If you want binary files to be cross platform for your program make sure you write them and read them with the same endian stream types.
0xABCD writting to a file on Windows would be
DCBA
and on mac
ABCD
I think I got that right. If you want binary files to be cross platform for your program make sure you write them and read them with the same endian stream types.