This class is used to access data which stored in big endian order regardless of the conventions of the platform. More...
#include <LESwaps.h>
Static Public Member Functions | |
static 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. | |
static 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. |
This class is used to access data which stored in big endian order regardless of the conventions of the platform.
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.