Function

NSHostByteOrder

Returns the endian format.

Declaration

long NSHostByteOrder(void);

Return Value

The endian format, either NS_LittleEndian or NS_BigEndian.