In the code below, why do X and Y take on different values than what I would think intuitively?
If the bytes 0-7 are written to the buffer, shouldn\'t the resulting
You're on a little endian machine, where integers are stored least-significant byte first.