I understand correctly that endianess only matters when we talk about how to store a value and not matter when copying memory?
for instance
if I have a value 0xf2fe0000 and save it in the system a little late - the bytes will be stored in order 00, 00, feand f2. But in a large system, the system stored bytes f2, fe, 00and 00.
Now, if I just want to copy these 4 bytes to the other 4 bytes (in one system), in a little endian system, I'm going to eventually add another 4 bytes containing 00, 00, feand f2in that order?
Or does endiedness have an effect when copying these bytes into memory?
source
share