Make endianness of beacon code explicit