wiki.icculus.org
[ front page | index | search | recent changes | git repo | offline html ]

PHYSFS_swapUBE16

Swap bigendian unsigned 16 to platform's native byte order.

Header File

Defined in <physfs.h>

Syntax

PHYSFS_uint16 PHYSFS_swapUBE16(PHYSFS_uint16 val);

Function Parameters

PHYSFS_uint16 val value to convert.

Return Value

(PHYSFS_uint16) Returns converted value.

Remarks

Take a 16-bit unsigned value in bigendian format and convert it to the platform's native byte order.

Thread Safety

It is safe to call this function from any thread.

Version

This function is available since PhysicsFS 1.0.0.


CategoryAPI, CategoryAPIFunction, CategoryPhysicsFS


[ edit | delete | history | feedback | raw ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.