check little or big endin.