little-endian and big-endian

Mary Jo Nath mary-jo.nath at NOAA.GOV
Tue Jul 12 11:18:14 EDT 2005


Hi Siji,

I use a command-line utility called "byteswap" (written by one of our lab's
IT guys) to swap the bytes of a big-endian file to get little-endian, or
vice versa. Many other byteswap utilities are available elsewhere on the web
too. This version is documentated at:

www.gfdl.noaa.gov/products/vis/utilities/GFDL_VG_Utilities.html#byteswap

A tarfile containing the C-code is available in the "Download" section of
this link.

Mary Jo



More information about the gradsusr mailing list