by larvyde · 10y ago · 0 comments
0x36313032 - 0x30303030 = 0x06010002
how is 0x02000106 the same as 0x06010002?
we want to turn the sequence [0x32, 0x30, 0x31, 0x36] (same on both architectures) into [0x00, 0x00, 0x07, 0xe0] in big endian or [0xe0, 0x07, 0x00, 0x00] in little endian. You can't simply perform the same procedure in both architectures since it'll result in a reversed sequence in one of them...