When passing data to CFITSIO for compression, it must be in native endianness, however, the logic for determining when to do that was wrong for big-endian machines.
VOTable binary format is always in big-endian format.  The logic for determining when to byteswap from memory to the bytestream was wrong on big-endian machines.
Fix the dtype comparison so it is correct on big-endian machines
Fix the dtype comparison so it is correct on big-endian machines
Merge pull request #1003 from mdboom/misc/byteswap-bugs

Fix a number of byteswapping bugs