for ages... we messed up base64 decoding on big endian platforms. The shame.
our OPT testing appears to have been little-endian only, this might improve things
add unit test to check if we detected byte order correctly