Wiki Page Content

Differences between revisions 2 and 3
Revision 2 as of 2010-08-26 06:16:54
Size: 678
Editor: SheenaSmith
Comment: minor change
Revision 3 as of 2013-08-07 22:03:23
Size: 636
Editor: Sam Lantinga
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
||<tablewidth="100%" style="color: #FF0000;" :> DRAFT||
Line 6: Line 5:
Use this function to swap byte order from big-endian to native ^(if necessary)^. Use this function to swap the byte order of a 32-bit big-endian value to native ordering.
Line 16: Line 15:
||'''x'''||the data to be swapped|| ||'''x'''||the value to be swapped||
Line 19: Line 18:
Returns the data in native Uint32 format. ??? Returns the native 32-bit value.
Line 30: Line 29:
 .[[SDL_Swap32]]

SDL_SwapBE32

Use this function to swap the byte order of a 32-bit big-endian value to native ordering.

Syntax

Uint32 SDL_SwapBE32(Uint32 x)

Function Parameters

x

the value to be swapped

Return Value

Returns the native 32-bit value.

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryAPI, CategoryEndian

None: SDL_SwapBE32 (last edited 2013-08-07 22:03:23 by Sam Lantinga)

Feedback
Please include your contact information if you'd like to receive a reply.
Submit