Some setup code in preparation of doing the actual file compression when creating an archive.
Replace "unsigned short" with uint16_t, "unsigned int" with uint32_t, and "unsigned long long" with uint64_t.
Also added tests for big-endian-conversion functions.