When processor endian awareness is required?
I am in Mac.
With Cocoa,
I know w开发者_Python百科ith normal files we can directly read or write without worrying about the endianness.
When processor endian awareness is required?
Regards,
Dhana.
What's a "normal" file? If you mean text files, then yes, you don't need to worry about endianness. If you write binary files containing numbers with multiple bytes, and if your file might possibly be read on a PowerPC Mac, then you do need to think about endianness.
精彩评论