Om  1.0.0
A universal framework for multimedia simulation
Classes | Namespaces | Functions
omEndian.h File Reference
#include "omDataConfig.h"
#include "omString.h"

Classes

class  om::data::Endianness
 A class that describes a byte ordering format and provides endian conversion to/from that format. More...
 

Namespaces

 om
 The enclosing namespace for the entire Om library.
 
 om::data
 A namespace containing data manipulation classes: strings, buffers, and hashing.
 
 om::data::endian
 

Functions

Int16 om::data::endian::swap (Int16 value)
 Reverse the byte order of a signed 16-bit integer. More...
 
UInt16 om::data::endian::swap (UInt16 value)
 Reverse the byte order of an unsigned 16-bit integer. More...
 
Int32 om::data::endian::swap (Int32 value)
 Reverse the byte order of a signed 32-bit integer. More...
 
UInt32 om::data::endian::swap (UInt32 value)
 Reverse the byte order of an unsigned 32-bit integer. More...
 
Int64 om::data::endian::swap (Int64 value)
 Reverse the byte order of a signed 64-bit integer. More...
 
UInt64 om::data::endian::swap (UInt64 value)
 Reverse the byte order of an unsigned 64-bit integer. More...
 
lang::Float16 om::data::endian::swap (lang::Float16 value)
 Reverse the byte order of a 16-bit float. More...
 
Float32 om::data::endian::swap (Float32 value)
 Reverse the byte order of a 32-bit float. More...
 
Float64 om::data::endian::swap (Float64 value)
 Reverse the byte order of a 64-bit float. More...
 
template<typename T >
om::data::endian::fromBigEndian (T value)
 
template<typename T >
om::data::endian::fromLittleEndian (T value)
 
template<typename T >
om::data::endian::toBigEndian (T value)
 
template<typename T >
om::data::endian::toLittleEndian (T value)
 
Bool om::data::endian::isBigEndian ()
 
Bool om::data::endian::isLittleEndian ()