… | |
… | |
694 | |
694 | |
695 | =item uint32_t ecb_bswap32 (uint32_t x) |
695 | =item uint32_t ecb_bswap32 (uint32_t x) |
696 | |
696 | |
697 | =item uint64_t ecb_bswap64 (uint64_t x) |
697 | =item uint64_t ecb_bswap64 (uint64_t x) |
698 | |
698 | |
|
|
699 | =item T ecb_bswap (T x) |
|
|
700 | |
699 | These functions return the value of the 16-bit (32-bit, 64-bit) value |
701 | These functions return the value of the 16-bit (32-bit, 64-bit) value |
700 | C<x> after reversing the order of bytes (0x11223344 becomes 0x44332211 in |
702 | C<x> after reversing the order of bytes (0x11223344 becomes 0x44332211 in |
701 | C<ecb_bswap32>). |
703 | C<ecb_bswap32>). |
702 | |
704 | |
703 | The overloaded C++ C<ecb_bswap> function supports C<uint8_t>, C<uint16_t>, |
705 | The overloaded C++ C<ecb_bswap> function supports C<uint8_t>, C<uint16_t>, |