Endian Swapping

Technical Chatter here.
Post Reply
User avatar
SingingBlaze




Stylist Trickster Critic

Posts: 348
Joined: Sun Sep 10, 2006 6:02 pm

Endian Swapping

Post by SingingBlaze »

Ok I want to endian swap my number for putting water into my map.

In his tutorial detox says 801AF000 is 00F01A80. I thought Endian swapping was just reversing the number. What would my number turn out as if I started with 8027C000 would it be 000C 7208 or what?
User avatar
StalkingGrunt911




Recreator Connoisseur Acolyte Coroner
Sigma Pyre

Posts: 3618
Joined: Wed May 24, 2006 12:30 pm
Location: Florida!
Contact:

Post by StalkingGrunt911 »

If I read the numbers right... it should be 00C02780. Someone please correct me if I am wrong.
User avatar
SingingBlaze




Stylist Trickster Critic

Posts: 348
Joined: Sun Sep 10, 2006 6:02 pm

Post by SingingBlaze »

Yer you are right I figured out how to do it a little while ago when I realised two digits are one byte.
Post Reply