| 20 | #endif |
| 21 | |
| 22 | uint32_t bswap32(uint32_t x) |
| 23 | { |
| 24 | return ((x << 24) & 0xff000000 ) | |
| 25 | ((x << 8) & 0x00ff0000 ) | |
| 26 | ((x >> 8) & 0x0000ff00 ) | |
| 27 | ((x >> 24) & 0x000000ff ); |
| 28 | } |
| 29 | |
| 30 | uint64_t bswap64(uint64_t x) |
| 31 | { |
no outgoing calls
no test coverage detected