#include <LESwaps.h>
Static Public Member Functions | |
le_uint16 | swapWord (const le_uint16 &value) |
This method does the byte swap required on little endian platforms to correctly access a (16-bit) word. | |
le_uint32 | swapLong (const le_uint32 &value) |
This method does the byte swapping required on little endian platforms to correctly access a (32-bit) long. |
All methods are static and inline in an attempt to induce the compiler to do most of the calculations at compile time.
Definition at line 45 of file LESwaps.h.
|
This method does the byte swapping required on little endian platforms to correctly access a (32-bit) long.
|
|
This method does the byte swap required on little endian platforms to correctly access a (16-bit) word.
|