MrSID Decode SDK for LiDAR Reference Manual  1.1.4.4709
Endian.h File Reference
#include "lidar/Base.h"

Go to the source code of this file.

Classes

class  Endian
 Endian is a helper class that figures out the host's byte order. More...
 

Macros

#define HOST_IS_BIG_ENDIAN   (Endian().isHostBigEndian())
 Use this macro when you need to know the host is big endian. More...
 
#define HOST_IS_LITTLE_ENDIAN   (Endian().isHostLittleEndian())
 Use this macro when you need to know the host is little endian. More...
 

Macro Definition Documentation

§ HOST_IS_BIG_ENDIAN

#define HOST_IS_BIG_ENDIAN   (Endian().isHostBigEndian())

Definition at line 20 of file Endian.h.

Referenced by StreamReader::get_le(), and StreamWriter::put_le().

§ HOST_IS_LITTLE_ENDIAN

#define HOST_IS_LITTLE_ENDIAN   (Endian().isHostLittleEndian())

Definition at line 22 of file Endian.h.

Referenced by StreamReader::get_be(), and StreamWriter::put_be().


LizardTech