|
Assimp v5.2.2 (January 2022)
The Asset-Importer-Lib API documentation.
|
Defines some useful byte order swap routines. More...
#include <ByteSwapper.h>
Classes | |
| struct | _swapper< T, 2 > |
| struct | _swapper< T, 4 > |
| struct | _swapper< T, 8 > |
Static Public Member Functions | |
| static void | Swap (double *fOut) |
| ByteSwap a double. | |
| static void | Swap (float *fOut) |
| ByteSwap a float. | |
| static void | Swap (int16_t *fOut) |
| ByteSwap an int16t. | |
| static void | Swap (int32_t *fOut) |
| ByteSwap an int32t. | |
| static void | Swap (int64_t *fOut) |
| ByteSwap an int64t. | |
| static void | Swap (uint16_t *fOut) |
| static void | Swap (uint32_t *fOut) |
| static void | Swap (uint64_t *fOut) |
| static void | Swap2 (void *_szOut) |
| Swap two bytes of data. | |
| static void | Swap4 (void *_szOut) |
| Swap four bytes of data. | |
| static void | Swap8 (void *_szOut) |
| Swap eight bytes of data. | |
| template<typename Type > | |
| static Type | Swapped (Type tOut) |
| Templatized ByteSwap. | |
Defines some useful byte order swap routines.
This is required to read big-endian model formats on little-endian machines, and vice versa. Direct use of this class is DEPRECATED. Use #StreamReader instead.
Swap two bytes of data.
| [in,out] | _szOut | A void* to save the reintcasts for the caller. |
Swap four bytes of data.
| [in,out] | _szOut | A void* to save the reintcasts for the caller. |
Swap eight bytes of data.
| [in,out] | _szOut | A void* to save the reintcasts for the caller. |
Templatized ByteSwap.