SQUASH ME: unify byte order swapping