#include <inttypes.h>Include dependency graph for helpers.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Defines | |
| #define | LITTLE_TO_NATIVE16(x) x |
| #define | LITTLE_TO_NATIVE32(x) x |
| #define | BIG_TO_NATIVE16(x) |
| #define | BIG_TO_NATIVE32(x) |
|
|
Value: (((((uint16_t) x) & 0xFF) << 8) | \
(((uint16_t) x) >> 8))
|
|
|
Value: (((((uint32_t) x) & 0xFF) << 24) | \
(((((uint32_t) x) >> 8) & 0xFF) << 16) | \
(((((uint32_t) x) >> 16) & 0xFF) << 8) | \
(((uint32_t) x) >> 24))
|
|
|
|
|
|
|
1.4.6