Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

byteswap.h File Reference

Go to the source code of this file.

Functions

void byteswap (void *d, int size)
bool std2host (void *d, int size)
bool host2std (void *d, int size)
void swap (char &a, char &b)


Function Documentation

void byteswap void *  d,
int  size
 

bool host2std void *  d,
int  size
 

converts the host byte order to the standard order

Returns:
true if swap was needed

bool std2host void *  d,
int  size
 

converts standard byte order to the host format

Returns:
true - if swap was needed

void swap char &  a,
char &  b
 


Generated on Tue Jun 15 12:49:28 2004 for pexpr by doxygen 1.3.4