If you want to send images of normalized numbers, you are absolutely safe in any modern architecture. If in doubt, check out the architecture guide. For denormalized rooms you will need to check.
Of course, you should be able to understand bytes and collect on the other end using the correct byte order, but it looks like you know how to do it.
As already noted, you cannot expect different CPUs to implement each individual part of the standard equally, but this is not necessary.
IEEE to ASCII floating point conversion is fraught with an error; Guy Steele and Will Clinger were good documents in the 1990s. After that, Burger and Dybvig will follow up to do it faster .
source share