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
If you care about the endian-ness of your bytes, Jon Skeet wrote a class to allow you to choose the endian-order when you do the conversion.
See C# little endian or big endian?