Design
endian.asc
Associated article: Endian-Neutral Software, Part 2
Tags: Design
_ENDIAN-NEUTRAL SOFTWARE, PART 2_ by James R. Gillig Example 1 long a = 0x01020304; char c, *p; p = (char *) &a; // set up pointer to a c = p[2]; // c is 0x03 in BE mode and 0x02 in LE mode Example 2: (a) long a; ...


