Namespaces | Enumerations | Functions
cel_endian.h File Reference

Endianness related definitions. More...

#include "cel_system.h"
Include dependency graph for cel_endian.h:
This graph shows which files directly or indirectly include this file:

Namespaces

 Celartem
 

Enumerations

enum  Celartem::Endian { Celartem::endianBig = 1234, Celartem::endianLittle = 4321, Celartem::endianHost = ENDIAN_HOST }
 

Functions

template<class T >
Celartem::swap (const T &n)
 
template<class T >
Celartem::toBig (const T &num)
 
template<class T >
Celartem::toLittle (const T &num)
 
template<class T >
Celartem::fromBig (const T &num)
 
template<class T >
Celartem::fromLittle (const T &num)
 
template<class T >
void Celartem::write (void *CEL_RESTRICT buffer, T t, Endian endian)
 
template<class T >
void Celartem::writeArray (void *CEL_RESTRICT buffer, T *CEL_RESTRICT array, size_t count, Endian endian)
 
template<class T >
Celartem::read (const void *CEL_RESTRICT buffer, Endian endian)
 
template<class T >
void Celartem::swapBytes (const void *CEL_RESTRICT ioBuffer, size_t inBytes)
 

Detailed Description

Endianness related definitions.


Cuminas DjVu SDK 3.0.33103
This document is made with doxygen 1.8.5 at Sun Dec 15 2013 19:38:05.
Cuminas Logo