warming up your workspace

Endianness

Applies to: general, c

Endianness is the order in which a multi-byte number is stored in memory. Big-endian puts the most significant byte first; little-endian puts the least significant byte first. It matters when reading binary files or sending data between machines.

0x12345678  big-endian: 12 34 56 78   little-endian: 78 56 34 12

See also: binary, bit