Wiki Page Content

SDL_Swap16

Use this function to swap the byte order of a 16-bit value.

Syntax

Uint16 SDL_Swap16(Uint16 x)

Function Parameters

x

the value to be swapped

Return Value

Returns the swapped value.

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryAPI, CategoryEndian

None: SDL_Swap16 (last edited 2013-08-07 21:58:49 by Sam Lantinga)

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