ByteSwapper, code inspired by DPS (http://dps.epfl.ch/), released in GPL. More...
#include <endian.h>
Static Public Member Functions | |
template<typename T > | |
static void | swap (T &v) |
template<typename T > | |
static T | swap (const T &v) |
template<size_t size> | |
static void | swapp (void *data) |
Swap bytes for 8-bit word, do nothing. |
ByteSwapper, code inspired by DPS (http://dps.epfl.ch/), released in GPL.
Mail to ask for LPGL relicensing sent to the author, Sebastian Gerlach
static void Aseba::ByteSwapper::swap | ( | T & | v | ) | [inline, static] |
static T Aseba::ByteSwapper::swap | ( | const T & | v | ) | [inline, static] |