9 #include "StArchInfo.h"
32 return (Endian() == __BIG_ENDIAN);
38 return (Endian() == __LITTLE_ENDIAN);
57 Int_t StArchInfo::Endian()
63 unsigned char endian[2] = {1, 0};
66 x = * ((
short *) endian);
70 fEndian = __LITTLE_ENDIAN;
73 fEndian = __BIG_ENDIAN;
Bool_t isBigEndian()
Returns true/false if endianess is/ins't Big.
StArchInfo()
Constructor, initialize variables.
Bool_t isLittleEndian()
Returns true/false if endianess is/ins't Little.
~StArchInfo()
Destructore - NOOP.