Read Magic Minor Major byte codes, and optimize get_u2 get_u4 get_u8 swap little endian and big endian