![]() |
VR-Link API Documentation for DIS
|
Go to the source code of this file.
Macros | |
| #define | is_bigendian() ( (*(char*)&endianChecker) == 0 ) |
Functions | |
| static void | swapByteArray (char *byteArray, int theSize) |
| Swap the byte array in memory. | |
| static DtU16 | endianSwap16Bit (DtU16 rhs) |
| swap 16 bits | |
| static DtU32 | endianSwap32Bit (DtU32 rhs) |
| swap 32 bits | |
| static DtU64 | endianSwap64Bit (DtU64 rhs) |
| swap 64 bits | |
Variables | |
| const int | endianChecker = 1 |
| This checks whether the machine is Big Endian or Little Endian. | |
| #define is_bigendian | ( | ) | ( (*(char*)&endianChecker) == 0 ) |
swap 16 bits
Referenced by endianSwap32Bit().
swap 64 bits
References endianSwap32Bit().
|
static |
Swap the byte array in memory.
| const int endianChecker = 1 |
This checks whether the machine is Big Endian or Little Endian.