When a word wider than a byte crosses a byte-addressed bus, someone must decide byte order. Little-endian (6502, x86) stores the low byte first; big-endian (68000, network protocols) the high byte first. The value 0x1234 is bytes 34 12 one way, 12 34 the other. Converting between them is a byte swap — and swapping twice returns the original, so the conversion is its own inverse. Danny Cohen named the split in 1980, borrowing Gulliver’s war over which end of an egg to crack: a difference with no technical winner, only a choice that must be agreed.
The demo byte-swaps 0x1234 to 0x3412 and swaps again back to 0x1234 — the conversion is an involution: live demo
“There is a right byte order.” — there is only a chosen one; the two are related by a self-inverse swap. cited
A word’s bytes read either way round, converted by a swap that undoes itself — a war settled by an involution. self-inverse
On the canonical compiler, 0x1234 byte-swaps to 0x3412 (13330), and swapping again returns 0x1234: