|ReverseBytes (const bool dr)|
|template<typename T >|
|T||operator() (T &data) const|
|bool||reverse () const|
This Functor simply takes an object and reverses its byte representation. This is useful for changing endian-ness for file IO. This class has been tested on x86 architectures with 4-byte words.
Constructor & Destructor Documentation
Member Function Documentation
Functor. Takes the data to reverse and performs the byte-ordering reversal.
Member Data Documentation
The documentation for this class was generated from the following file: