Henry -- If you cobble something together, and intend to make it available to anyone else, consider testing it between at least both big-endian and little-endian hardware. The proverb "The cobbler's son always goes barefoot" seems strangely relevant here.