Location>code7788 >text

big endian and little endian

Popularity:671 ℃/2025-01-25 14:31:11

Large end and small end, how do you understand?

Suppose there is only 1 byte of storage space now:

The one that stores the highest bit is called big endian;

The lowest position is called Xiaoduan.

Big endian: In network transmission, the highest bit is transmitted first to obtain the most possible information.

Little endian: x86, after all, adders can only perform operations starting from the lowest bit.