https://web.archive.org/web/20051204174602/http://www.cs.umd.edu/class/sum2003/cmsc311/Notes/Data/endian.html