Toggle endian


Functions

int16_t te16 (int16_t s, int flag)
int32_t te32 (int32_t i, int flag)
int64_t te64 (int64_t l, int flag)
float tefloat (float in, int flag)
double tedouble (double in, int flag)

Detailed Description

This modules is about toogling the endian type fof some primitive data types

Function Documentation

int16_t te16 ( int16_t  s,
int  flag 
)

toggle endian if flag is set

Returns:
toggled value

int32_t te32 ( int32_t  i,
int  flag 
)

toggle endian if flag is set

Returns:
toggled value

int64_t te64 ( int64_t  l,
int  flag 
)

toggle endian if flag is set

Returns:
toggled value

double tedouble ( double  in,
int  flag 
)

toggle endian if flag is set

Returns:
toggled value

float tefloat ( float  in,
int  flag 
)

toggle endian if flag is set

Returns:
toggled value


Generated on 4 Mar 2014 for ixtools by  doxygen 1.4.7