A response on SO got me thinking, does JavaScript guarantee a certain endian encoding across OSs and browsers?
Or put another way are bitwise shifts on integers \"safe\"
Yes, they are safe. Although you're not getting the speed benefits you might hope for since JS bit operations are "a hack".