when reading a pack index byte-swap fields at compile-time where possible suggested by mpi@ ages ago