endianness indicates the ordering of bytes within a multi-byte number
Endianness (or byte order) is “baked in” to the particular processor architecture in use. Intel and AMD (x86, x86-64) use little-endian, IBM and Solaris are big-endian, and ARM can be set to both. iOS is little-endian.
For a number
- Little-endian architectures represent it as
- Big-endian architectures represent it as