|
INFM HIL Interface
Interface between Artery simulation and DuTs
|
Implements some utilities for the codecs. More...
#include <CodecUtilities.h>
Static Public Member Functions | |
| static bool | checkBigEndianness () |
| static int16_t | convertEndianness (int16_t number) |
| static uint16_t | convertEndianness (uint16_t number) |
| static int32_t | convertEndianness (int32_t number) |
| static uint32_t | convertEndianness (uint32_t number) |
| static uint64_t | convertEndianness (uint64_t number) |
Implements some utilities for the codecs.
|
static |
Checks the endianness of the host. True means that the host uses big endian. False meas that the host uses little endian.
|
static |
Converts the endianness of a int16_t, int32_t, uint16_t, uint32_t or uint64_t. Note: Since uint8_t is only one byte it doesn't need a conversion.
| number | - The number that should be converted. |