|
Size: 688
Comment: add RF
|
← Revision 4 as of 2013-08-07 22:02:17 ⇥
Size: 636
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 16-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: |
| The data in native Uint16 format. ??? | Returns the native 16-bit value. |
SDL_SwapBE16
Use this function to swap the byte order of a 16-bit big-endian value to native ordering.
Contents
Syntax
Uint16 SDL_SwapBE16(Uint16 x)
Function Parameters
x |
the value to be swapped |
Return Value
Returns the native 16-bit value.
Code Examples
You can add your code example here
Remarks
You can add useful comments here
