Endianness

This post describes Endianness.

Endianness is the order in which multiple bytes of data are placed in memory or communication data. There are two types of endianness: Big-Endianness and Little-Endianness.

Big-Endianness arranges data in order from the beginning so that it is easy for people to understand; TCP/IP is unified with big-endian.

Little-Endianness is an efficient way of computing numerical values by arranging data in order from the end.

Note
– When sending and receiving data in byte units in communication.
– When manipulating data of type short or long with a pointer variable of type char.
– When porting a program to a different endian system.

OSS-ECAL English
error: Content is protected !!