Slight error in the "Byte Ordering" description on page 475


The following is from the Byte Ordering topic on page 475:

Actually, its the opposite. Intel, and all x86’s, are little-endian. The PowerPC devices are big-endian. And the ARM processor in your iPhone is bi-endian. Technically, when the ARM core is instantiated into the device, depending upon the ARM features and configuration, it can be either big or little endian at its core. However, the ARM as a black box (ie, from what the external world sees),it functions as a big-endian machine.

In any case, your suggestions for always ensuring the endianness by using the host byte order conversion is the absolute proper thing to do. Portability is king!