Yes, and its a trick often done, but exposes you to the underlying memory-addressing model (principally endianness). So be careful, and remember that some architectures are big-endian and some are little-endian. If none of this makes sense then Wikipedia will hopefully explain.