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.
![](https://oss-ecal.com/wp-content/uploads/2024/06/Endian_EN.png)
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.