All processors of the Intel x86 family are little endian. 所有Intelx86家族的处理器使用的都是小端字节。
The header files found in / usr / src / linux / include / linux / byteorder / provide macros for converting between big and little endian representations. usr/src/linux/include/linux/byteorder/中的header文件提供的宏可以实现大端字节和小端字节表示之间的转换。
But what happens if a client running on a big endian IBM PowerPC attempts to send a32-bit integer to a little endian Intel x86? 但是,如果一个运行在高位优先的IBMPowerPC上的客户端发送一个32位的整数到一个低位优先的Intelx86,那将会发生什么呢?
Note : Depending on the platform and whether the mem structure is big endian or little endian, you may need to swap the order in which bytes are read. 注意:根据不同平台,以及men结构是大端字节序还是小端字节序,您可能需要交换读取字节的顺序。
Byte order : big endian or little endian 字节次序:大尾数法还是小尾数法