I didn't really do that much research into this, I just know that I read documentation on an algorithm and the authors said you swap bytes around.

Quote:
These hexadecimal numbers should be written in Little Endian order, this means that you should swap the bytes around in a number of languages (for example PHP and C#, but not Perl and Visual Basic) in order to have access to the values of these integers. You should also take in account the default Endian Order of the system you are working on (for example, Intel machines are LE, while Apple machines are typically using BE).


Their examples also suggest this is correct.

Quote:
0x5b301715 = 0x1517305b = 353841243
0x9e3947f8 = 0xf847399e = 2017933726
0xff981604 = 0x041698ff = 68589823