Make this tool work on big-endian platforms
12 files changed