|
ZEDA
1.6.18
|
Macros | |
| #define | Z_ENDIAN_UNKNOWN 9999 |
| #define | Z_ENDIAN_LITTLE 1234 |
| #define | Z_ENDIAN_BIG 4321 |
Functions | |
| int | endian_check (void) |
| check type of endian of the current architecture. More... | |
| uint16_t | endian_reverse16 (uint16_t val) |
| convert 16-bit little/big endian to big/little endian. More... | |
| uint32_t | endian_reverse32 (uint32_t val) |
| convert 32-bit little/big endian to big/little endian. More... | |
| uint64_t | endian_reverse64 (uint64_t val) |
| convert 64-bit little/big endian to big/little endian. More... | |
| #define Z_ENDIAN_UNKNOWN 9999 |
| #define Z_ENDIAN_LITTLE 1234 |
| #define Z_ENDIAN_BIG 4321 |
| int endian_check | ( | void | ) |
check type of endian of the current architecture.
endian_check() checks the type of endian of the current architecture.
convert 16-bit little/big endian to big/little endian.
endian_reverse16() converts a little endian 16-bit value to a bit endian value, and vice versa.
convert 32-bit little/big endian to big/little endian.
endian_reverse32() converts a little endian 32-bit value to a bit endian value, and vice versa.
convert 64-bit little/big endian to big/little endian.
endian_reverse64() converts a little endian 64-bit value to a bit endian value, and vice versa.
1.8.13