Name: Anonymous 2008-01-26 14:55
I'm trying to make a little program endian-agnostic. Instead of using a union of a 32-bit integer and a byte array, I'm using bit shifts.
But I'm wondering, do the results of bit shifts also depend on the endianness? It doesn't seem like they do, but I wanted to be sure.
But I'm wondering, do the results of bit shifts also depend on the endianness? It doesn't seem like they do, but I wanted to be sure.