Ways of reversing the byte order of an unsigned integer

Place to talk about all that new hardware and decaying software you have.

Moderator: General Mods

paulguy
Zealot
Posts: 1076
Joined: Sat Jul 02, 2005 2:01 am
Contact:

Re: Ways of reversing the byte order of an unsigned integer

Post by paulguy »

Is that your face? It creeps me out. You have that same blank stare that pictures of me have... That's hy my avatar isn't my face because it'd also be creepy as hell.
Maybe these people were born without that part of their brain that lets you try different things to see if they work better. --Retsupurae
grinvader
ZSNES Shake Shake Prinny
Posts: 5632
Joined: Wed Jul 28, 2004 4:15 pm
Location: PAL50, dood !

Re: Ways of reversing the byte order of an unsigned integer

Post by grinvader »

lordmister wrote:I've started using pointers in C# lately
lawl
Just being insane really
except there's the good insane and the stupid one
i'll let you guess what you belong to right now
I *choose*, willingly, to write a fucking Virtual Machine for an A-Level computing course.
doesn't explain why you choose to go overboard with minor routines that should only take a couple lines and a few special types in a header



seriously
皆黙って俺について来い!!

Code: Select all

<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
pagefault
ZSNES Developer
ZSNES Developer
Posts: 812
Joined: Tue Aug 17, 2004 5:24 am
Location: In your garden

Re: Ways of reversing the byte order of an unsigned integer

Post by pagefault »

Hi,

Since you are using C# why are you writing code that already exists?

http://msdn.microsoft.com/en-us/library ... erter.aspx
Watering ur plants.
lordmissus
Ignorant Child
Posts: 326
Joined: Mon Apr 06, 2009 10:10 pm
Location: 1984

Re: Ways of reversing the byte order of an unsigned integer

Post by lordmissus »

NIH
funkyass
"God"
Posts: 1128
Joined: Tue Jul 27, 2004 11:24 pm

Re: Ways of reversing the byte order of an unsigned integer

Post by funkyass »

why bother learning skills like reading documentation...
Does [Kevin] Smith masturbate with steel wool too?

- Yes, but don’t change the subject.
Deathlike2
ZSNES Developer
ZSNES Developer
Posts: 6747
Joined: Tue Dec 28, 2004 6:47 am

Re: Ways of reversing the byte order of an unsigned integer

Post by Deathlike2 »

Reinventing the wheel never seems to get old. "Perfectly round" is never a good enough qualification for some people.
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
Post Reply