Scroll to Navigation Links
Main Page
Here is an inline method to determine the byte order of the running computer.
inline int IsLittleEndian(){ int i = 1 ; return (*((char *) &i )) ? 1 : 0; }