dxd - dynax driver framework 2.2.0d81
cross platform open source driver development framework
Loading...
Searching...
No Matches
dxd_endian.h File Reference
+ This graph shows which files directly or indirectly include this file:

Classes

struct  dxd::adjust< endian_t >
 
struct  dxd::adjust< host >
 
struct  dxd::adjust< swap >
 

Namespaces

namespace  dxd
 dynax driver framework kernel namespace
 

Macros

#define BE32(v32)   SWAP32(v32)
 
#define LE32
 
#define SWAP32(v32)   (((v32)>>24)|(((v32)>>8)&0xff00)|(((v32)&0xff00)<<8)|(((v32)&0xff)<<24))
 

Enumerations

enum  dxd::endian { dxd::little_endian , dxd::big_endian , dxd::host =little_endian , dxd::swap =big_endian }
 

Macro Definition Documentation

◆ BE32

#define BE32 ( v32)    SWAP32(v32)

◆ LE32

#define LE32

◆ SWAP32

#define SWAP32 ( v32)    (((v32)>>24)|(((v32)>>8)&0xff00)|(((v32)&0xff00)<<8)|(((v32)&0xff)<<24))

(c) copyright 2009 dynamic acoustics e.U. generated on Fri Dec 20 2024

a closed source license may be obtained by requesting a written permission from dynamic acoustics e.U.
however - governmental use generally and military use especially is strictly prohibited though.