OSG  3.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Enumerations | Functions
Endian.h File Reference
#include <algorithm>
Include dependency graph for Endian.h:

Go to the source code of this file.

Namespaces

 osg
 

Enumerations

enum  osg::Endian { osg::BigEndian, osg::LittleEndian }
 

Functions

Endian osg::getCpuByteOrder ()
 
void osg::swapBytes (char *in, unsigned int size)
 
void osg::swapBytes2 (char *in)
 
void osg::swapBytes4 (char *in)
 
void osg::swapBytes8 (char *in)
 
void osg::swapBytes16 (char *in)
 
template<typename T >
void osg::swapBytes (T &t)