check for endianness of tokyotyrant