http://community.haskell.org/~aslatter/code/byteorder
