Using {Short,Int,Long}.reverseBytes for the byte order swap to big-endian