intel vs motorola byte order

Intel vs Motorola Byte ordering Very Computer. byte order, or it can leave the structure in network order an convert on each reference. In the first case, there are three options. The first two are: (1) struct message { short x; long y; } m; m.x = ntohs(m.x); m.y = ntohl(m.y); (2) if (host byte order is not network byte.

Intel vs Motorola Byte ordering Very Computer
Intel vs Motorola Byte ordering Very Computer from image.slidesharecdn.com

If they are 4949Hex (the characters 'II'), byte order is always from the least significant byte to the most significant byte. This is called little-endian byte order (or Intel)..