Skip to main content

Endianess

In the above programs, you can see that the binary information is represented in hexadecimal format. Different architectures actually represent the same hexadecimal number in different ways, and this is what is referred to as Endianess. Let’s take the value of 0x12345678 as an example. Here the least significant value is the right most value(78) while the most significant value is the left most value(12).

Little Endian is where the value is arranged from the least significant byte to the most significant byte:


Big Endian is where the value is arranged from the most significant byte to the least significant byte.


Here, each “value” requires at least a byte to represent, as part of a multi-byte object.