Can the byte order of Double be safely reversed?
问题 Double is represented in memory using 8 bytes. I believe these 8 bytes should be having two components, one each for integer-part and one for the fractional-part(Correct me if I am wrong in this assumption). My machine is a little endian(Nowadays every Macmini is). I want to transfer these 8 bytes representing Double to a file, which should be readable on a BigEndian platform(Specifically JVM which is BE). It is safe for plain Integers to reverse the byte order, as they don't have components