Byte Swapping

If you need to find out the host byte order you can use the function CFByteOrderGetCurrent . The possible return values are CFByteOrderUnknown , CFByteOrderLittleEndian , and CFByteOrderBigEndian .

Byte Swapping Integers

Byte Swapping Floating-Point Values


© 2000 Apple Computer, Inc. (Last Updated 04 April 00)