MrSID Decode SDK for LiDAR Reference Manual  1.1.3.4427
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...

Defines

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

Define Documentation

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

Definition at line 20 of file Endian.h.

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

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

Definition at line 22 of file Endian.h.

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