Skip to main content

Big Endian and Little Endian

Remember Gulliver's Travels? The two cities that were fighting each other were called the Big Endians and the Little Endians - fighting because they couldn't agree which end of the egg should be cut when eating soft boiled eggs. Typical.

However, beware, the end is not the end, it is the beginning. The left most byte of a structure is the 'end'. The Most significant byte in a Big Endian contains the highest binary values. Counter intuitive I know. Just to reinforce the point, the end is the beginning, left to right. Bit level data is according to the parent type.

endian

References