Which .Net-compatible architectures are not little-endian?

后端 未结 6 1739
醉梦人生
醉梦人生 2021-01-20 11:46

The BitConverter class has a field IsLittleEndian which, according to the documentation:

Indicates the byte order (\"endianness\") in which data is st

6条回答
  •  有刺的猬
    2021-01-20 12:01

    The XBox360 is BigEndian. Robert Unoki from Microsoft has a good blog post about the importance of checking the IsLittleEndian flag - and the bugs that occurred in porting the CLR to XBox360 when the Microsoft developers failed to do so.

提交回复
热议问题