convert byte to int in Big end mode