|
ldas-tools-al 2.6.7
|

Macros | |
| #define | BSWAP_8(x) |
Functions | |
| template<typename T> | |
| T | bswap (T Source) |
| template<> | |
| uint32_t | bswap (uint32_t Source) |
| template<size_t SIZE> | |
| void | reverse (void *s, size_t n) |
| Reverse Byte Order. | |
| template<> | |
| void | reverse< 1 > (void *dest, size_t n) |
| Reverse 1 byte. | |
| template<> | |
| void | reverse< 2 > (void *dest, size_t n) |
| Reverse 2 bytes. | |
| template<> | |
| void | reverse< 4 > (void *dest, size_t n) |
| Reverse 4 bytes. | |
| template<> | |
| void | reverse< 8 > (void *dest, size_t n) |
| Reverse 8 bytes. | |
| template<> | |
| void | reverse< 12U > (void *s, size_t n) |
| Reverse 12 bytes. | |
| template<> | |
| void | reverse< 16U > (void *s, size_t n) |
| Reverse 16 bytes. | |
| template<> | |
| void | reverse< 36U > (void *s, size_t n) |
| Reverse 36 bytes. | |
| #define BSWAP_8 | ( | x | ) |
| T bswap | ( | T | Source | ) |
|
inline |
Reverse 1 byte.
This does nothing.
| dest | |
| n |
Reverse 12 bytes.
Reverses the order of twelve bytes. This is a template specialization.
| [in,out] | s | This is the collection of data on which the bytes need to be swapped. |
| [in] | n | The number of elements in the collection. |
Reverse 16 bytes.
Reverses the order of sixteen bytes. This is a template specialization.
| [in,out] | s | This is the collection of data on which the bytes need to be swapped. |
| [in] | n | The number of elements in the collection. |
Reverse 2 bytes.
Reverses the order of two bytes. This is a template specialization.
| [in,out] | dest | This is the collection of data on which the bytes need to be swapped. |
| [in] | n | The number of elements in the collection. |
Reverse 36 bytes.
Reverses the order of thirty six bytes. This is a template specialization.
| [in,out] | s | This is the collection of data on which the bytes need to be swapped. |
| [in] | n | The number of elements in the collection. |
Reverse 4 bytes.
Reverses the order of four bytes. This is a template specialization.
| [in,out] | dest | This is the collection of data on which the bytes need to be swapped. |
| [in] | n | The number of elements in the collection. |