52 #ifndef __PCL_EndianConversions_h
53 #define __PCL_EndianConversions_h
78 return (x << 8) | (x >> 8);
89 return (
RotL( x, 8 ) & 0x00ff00ffu) | (
RotR( x, 8 ) & 0xff00ff00u);
120 constexpr __pcl_endian_check__ __pcl_endian_check_sample__ = { 0xdeadbeef };
126 return __pcl_endian_check_sample__.b[0] == 0xef;
131 return __pcl_endian_check_sample__.b[0] == 0xde;
146 return __pcl_endian_check_sample__.b[0] == 0xef;
156 return __pcl_endian_check_sample__.b[0] == 0xde;
uint16 BigToLittleEndian(uint16 x)
constexpr bool IsBigEndianMachine()
constexpr bool IsLittleEndianMachine()
T RotL(T x, uint32 n) noexcept
T RotR(T x, uint32 n) noexcept
unsigned long long uint64