Conversion from big endian to little endian

Blitz3D Forums/Blitz3D Programming/Conversion from big endian to little endian

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Is there a really clever way to do this, or is the only way to do it the hard way?

Edit: I need to read a signed short in big-endian format.

Does anyone have a way of doing this easilly, or will I have to convert to little-endian and then convert to unsigned.

Andy