开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜