# PHYSFS_swapSLE16 Swap littleendian signed 16 to platform's native byte order. ## Header File Defined in [](https://github.com/icculus/physfs/blob/main/src/physfs.h) ## Syntax ```c PHYSFS_sint16 PHYSFS_swapSLE16(PHYSFS_sint16 val); ``` ## Function Parameters | | | | | ------------------------------ | ------- | ----------------- | | [PHYSFS_sint16](PHYSFS_sint16) | **val** | value to convert. | ## Return Value ([PHYSFS_sint16](PHYSFS_sint16)) Returns converted value. ## Remarks Take a 16-bit signed value in littleendian 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](CategoryAPI), [CategoryAPIFunction](CategoryAPIFunction), [CategoryPhysicsFS](CategoryPhysicsFS)