Electronics and SoftwareEngineering Innovation
#include <BTypes.h> #include <byteswap.h> |
| void | bswap_p8 (const void *s, void *d) |
| |
| void | bswap_p16 (const void *s, void *d) |
| |
| void | bswap_p32 (const void *s, void *d) |
| |
| void | bswap_p64 (const void *s, void *d) |
| |
| void | bswap_copy (int swap, const void *src, void *dst, BUInt32 nBytes, const char *swapType) |
| |
| uint16_t | htole (uint16_t v) |
| |
| int16_t | htole (int16_t v) |
| |
| uint32_t | htole (uint32_t v) |
| |
| int32_t | htole (int32_t v) |
| |
| uint64_t | htole (uint64_t v) |
| |
| int64_t | htole (int64_t v) |
| |
| double | htole (double v) |
| |
| float | htole (float v) |
| |
| uint16_t | htobe (uint16_t v) |
| |
| int16_t | htobe (int16_t v) |
| |
| uint32_t | htobe (uint32_t v) |
| |
| int32_t | htobe (int32_t v) |
| |
| uint64_t | htobe (uint64_t v) |
| |
| int64_t | htobe (int64_t v) |
| |
| double | htobe (double v) |
| |
| float | htobe (float v) |
| |
| uint16_t | letoh (uint16_t v) |
| |
| int16_t | letoh (int16_t v) |
| |
| uint32_t | letoh (uint32_t v) |
| |
| int32_t | letoh (int32_t v) |
| |
| uint64_t | letoh (uint64_t v) |
| |
| int64_t | letoh (int64_t v) |
| |
| double | letoh (double v) |
| |
| float | letoh (float v) |
| |
| uint16_t | betoh (uint16_t v) |
| |
| int16_t | betoh (int16_t v) |
| |
| uint32_t | betoh (uint32_t v) |
| |
| int32_t | betoh (int32_t v) |
| |
| uint64_t | betoh (uint64_t v) |
| |
| int64_t | betoh (int64_t v) |
| |
| double | betoh (double v) |
| |
| float | betoh (float v) |
| |
◆ be16toh
| #define be16toh | ( | | x | ) | __bswap_16 (x) |
◆ be32toh
| #define be32toh | ( | | x | ) | __bswap_32 (x) |
◆ be64toh
| #define be64toh | ( | | x | ) | __bswap_64 (x) |
◆ htobe16
| #define htobe16 | ( | | x | ) | __bswap_16 (x) |
◆ htobe32
| #define htobe32 | ( | | x | ) | __bswap_32 (x) |
◆ htobe64
| #define htobe64 | ( | | x | ) | __bswap_64 (x) |
◆ htole16
◆ htole32
◆ htole64
◆ le16toh
◆ le32toh
◆ le64toh
◆ betoh() [1/8]
| uint16_t betoh | ( | uint16_t | v | ) | | | inline |
◆ betoh() [2/8]
| int16_t betoh | ( | int16_t | v | ) | | | inline |
◆ betoh() [3/8]
| uint32_t betoh | ( | uint32_t | v | ) | | | inline |
◆ betoh() [4/8]
| int32_t betoh | ( | int32_t | v | ) | | | inline |
◆ betoh() [5/8]
| uint64_t betoh | ( | uint64_t | v | ) | | | inline |
◆ betoh() [6/8]
| int64_t betoh | ( | int64_t | v | ) | | | inline |
◆ betoh() [7/8]
◆ betoh() [8/8]
◆ bswap_copy()
| void bswap_copy | ( | int | swap, |
| | const void * | src, |
| | void * | dst, |
| | BUInt32 | nBytes, |
| | const char * | swapType |
| ) | | |
◆ bswap_p16()
| void bswap_p16 | ( | const void * | s, | | | void * | d | | ) | | | | inline |
◆ bswap_p32()
| void bswap_p32 | ( | const void * | s, | | | void * | d | | ) | | | | inline |
◆ bswap_p64()
| void bswap_p64 | ( | const void * | s, | | | void * | d | | ) | | | | inline |
◆ bswap_p8()
| void bswap_p8 | ( | const void * | s, | | | void * | d | | ) | | | | inline |
◆ htobe() [1/8]
| uint16_t htobe | ( | uint16_t | v | ) | | | inline |
◆ htobe() [2/8]
| int16_t htobe | ( | int16_t | v | ) | | | inline |
◆ htobe() [3/8]
| uint32_t htobe | ( | uint32_t | v | ) | | | inline |
◆ htobe() [4/8]
| int32_t htobe | ( | int32_t | v | ) | | | inline |
◆ htobe() [5/8]
| uint64_t htobe | ( | uint64_t | v | ) | | | inline |
◆ htobe() [6/8]
| int64_t htobe | ( | int64_t | v | ) | | | inline |
◆ htobe() [7/8]
◆ htobe() [8/8]
◆ htole() [1/8]
| uint16_t htole | ( | uint16_t | v | ) | | | inline |
◆ htole() [2/8]
| int16_t htole | ( | int16_t | v | ) | | | inline |
◆ htole() [3/8]
| uint32_t htole | ( | uint32_t | v | ) | | | inline |
◆ htole() [4/8]
| int32_t htole | ( | int32_t | v | ) | | | inline |
◆ htole() [5/8]
| uint64_t htole | ( | uint64_t | v | ) | | | inline |
◆ htole() [6/8]
| int64_t htole | ( | int64_t | v | ) | | | inline |
◆ htole() [7/8]
◆ htole() [8/8]
◆ letoh() [1/8]
| uint16_t letoh | ( | uint16_t | v | ) | | | inline |
◆ letoh() [2/8]
| int16_t letoh | ( | int16_t | v | ) | | | inline |
◆ letoh() [3/8]
| uint32_t letoh | ( | uint32_t | v | ) | | | inline |
◆ letoh() [4/8]
| int32_t letoh | ( | int32_t | v | ) | | | inline |
◆ letoh() [5/8]
| uint64_t letoh | ( | uint64_t | v | ) | | | inline |
◆ letoh() [6/8]
| int64_t letoh | ( | int64_t | v | ) | | | inline |
◆ letoh() [7/8]
◆ letoh() [8/8]