ICU 57.1 57.1
LESwaps.h File Reference

C++ API: Endian independent access to data for LayoutEngine. More...

#include "LETypes.h"

Go to the source code of this file.

Data Structures

class  LESwaps
 This class is used to access data which stored in big endian order regardless of the conventions of the platform. More...
 

Macros

#define SWAPW(value)
 A convenience macro which invokes the swapWord member function from a concise call.
 
#define SWAPL(value)
 A convenience macro which invokes the swapLong member function from a concise call.
 

Detailed Description

C++ API: Endian independent access to data for LayoutEngine.

Definition in file LESwaps.h.

Macro Definition Documentation

◆ SWAPL

#define SWAPL ( value)
Value:
uint32_t le_uint32
A type used for unsigned, 32-bit integers.
Definition LETypes.h:41
static le_uint32 swapLong(le_uint32 value)
Reads a big-endian 32-bit word and returns a native-endian value.
Definition LESwaps.h:81

A convenience macro which invokes the swapLong member function from a concise call.

Deprecated
ICU 54. See icu::LayoutEngine

Definition at line 33 of file LESwaps.h.

◆ SWAPW

#define SWAPW ( value)
Value:
uint16_t le_uint16
A type used for unsigned, 16-bit integers.
Definition LETypes.h:55
static le_uint16 swapWord(le_uint16 value)
Reads a big-endian 16-bit word and returns a native-endian value.
Definition LESwaps.h:57

A convenience macro which invokes the swapWord member function from a concise call.

Deprecated
ICU 54. See icu::LayoutEngine

Definition at line 25 of file LESwaps.h.