In big-endian, bytes (e.g. in an int
) are ordered from the most significant to the least significant. This is how we are used to represent numbers outside of computers. For instance, if we store an address 0xaabbccdd
in memory, then in memory it will still be ordered as 0xaabbccdd
.