26 #define SWAPW(value) LESwaps::swapWord((const le_uint16 &) (value))
34 #define SWAPL(value) LESwaps::swapLong((const le_uint32 &) (value))
62 return ((p[0] << 8) + p[1]);
79 return ((p[0] << 24) + (p[1] << 16) + (p[2] << 8) + p[3]);
This class is used to access data which stored in big endian order regardless of the conventions of t...
uint32_t le_uint32
A type used for unsigned, 32-bit integers.
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) wor...
uint16_t le_uint16
A type used for unsigned, 16-bit integers.
#define U_LAYOUT_API
Set to export library symbols from inside the layout engine library, and to import them from outside...
C API: Basic definitions for the ICU LayoutEngine.
#define U_NAMESPACE_BEGIN
This is used to begin a declaration of a public ICU C++ API.
uint8_t le_uint8
A type used for unsigned, 8-bit integers.
#define U_NAMESPACE_END
This is used to end a declaration of a public ICU C++ API If the compiler doesn't support namespaces...
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)...