… | |
… | |
789 | |
789 | |
790 | =item T ecb_host_to_be (T v) |
790 | =item T ecb_host_to_be (T v) |
791 | |
791 | |
792 | =item T ecb_host_to_le (T v) |
792 | =item T ecb_host_to_le (T v) |
793 | |
793 | |
|
|
794 | =back |
|
|
795 | |
794 | These functions work like their C counterparts, above, but use templates, |
796 | These functions work like their C counterparts, above, but use templates, |
795 | which make them useful in generic code. |
797 | which make them useful in generic code. |
796 | |
798 | |
797 | C<T> must be one of C<uint8_t>, C<uint16_t>, C<uint32_t> or C<uint64_t> |
799 | C<T> must be one of C<uint8_t>, C<uint16_t>, C<uint32_t> or C<uint64_t> |
798 | (so unlike their C counterparts, there is a version for C<uint8_t>, which |
800 | (so unlike their C counterparts, there is a version for C<uint8_t>, which |