[vtkusers] #Defines for Big or Little Endian

Mike Jackson imikejackson at gmail.com
Thu Aug 31 16:35:46 EDT 2006


Is there a #define some where that I can use to test if I am running
on a big or little endian machine?

Beyond that, are there already methods some where that I have not
found that will take a value, say UIn32 and swap the bytes to whatever
the system is? Something like:

ByteSwap::swapLEToSystem( UInt32 );

Thanks

-- 
Mike Jackson
imikejackson _at_ gee-mail dot com



More information about the vtkusers mailing list