Hi,
With variables like an 8 byte double or 4 byte int, is the memory layout exactly the same across Windows, Linux and OSX assuming the endianness is the same?
Say for example, I copy 8 bytes from a double on Linux into a double on Windows, will it work or explode?
Thanks,
Jack
With variables like an 8 byte double or 4 byte int, is the memory layout exactly the same across Windows, Linux and OSX assuming the endianness is the same?
Say for example, I copy 8 bytes from a double on Linux into a double on Windows, will it work or explode?
Thanks,
Jack