Coding for Byte Order
According to Rob Pike, your code almost never needs to take into account the endianness of the machine it’s running on. From his blog post (linked below): “The entire Plan 9 system ran, without architecture-dependent #ifdefs of any kind, on...
Read more