31453e3072
The function actually was correct for big-endian use already (and the changes in 239e22d0 actually broke normal decoding tests), it was only the test function itself that needed fixing for big-endian.