Find s/m is Big endian or Little Endian