AGX Dynamics 2.40.1.1
Loading...
Searching...
No Matches
byteswap.h File Reference
#include <agx/agx.h>
#include <agx/PushDisableWarnings.h>
#include <byteswap.h>

Go to the source code of this file.

Namespaces

namespace  agx
 The agx namespace contains the dynamics/math part of the AGX Dynamics API.
 

Functions

static int16_t agx::ByteSwap16 (int16_t x)
 
static uint16_t agx::ByteSwap16 (uint16_t x)
 
static float agx::ByteSwap32 (const float &x)
 
static int32_t agx::ByteSwap32 (int32_t x)
 
static uint32_t agx::ByteSwap32 (uint32_t x)
 
static double agx::ByteSwap64 (const double &x)
 
static int64_t agx::ByteSwap64 (int64_t x)
 
static uint64_t agx::ByteSwap64 (uint64_t x)
 
static void agx::ByteSwapArray (uint8_t *byte_array, size_t len)
 Swap all the bytes in an array to convert from little - endian byte order to big-endian byte order, or vice versa.