BEndian.h File Reference

#include <byteswap.h>
#include <BTypes.h>

Defines

#define BEndian_H   1
#define htobe16(x)   __bswap_16 (x)
#define htole16(x)   (x)
#define be16toh(x)   __bswap_16 (x)
#define le16toh(x)   (x)
#define htobe32(x)   __bswap_32 (x)
#define htole32(x)   (x)
#define be32toh(x)   __bswap_32 (x)
#define le32toh(x)   (x)
#define htobe64(x)   __bswap_64 (x)
#define htole64(x)   (x)
#define be64toh(x)   __bswap_64 (x)
#define le64toh(x)   (x)

Functions

void bswap_p8 (const void *s, void *d)
void bswap_p16 (const void *s, void *d)
void bswap_p32 (const void *s, void *d)
void bswap_p64 (const void *s, void *d)
void bswap_copy (int swap, const void *src, void *dst, BUInt32 nBytes, const char *swapType)
uint16_t htole (uint16_t v)
int16_t htole (int16_t v)
uint32_t htole (uint32_t v)
int32_t htole (int32_t v)
uint64_t htole (uint64_t v)
int64_t htole (int64_t v)
double htole (double v)
float htole (float v)
uint16_t htobe (uint16_t v)
int16_t htobe (int16_t v)
uint32_t htobe (uint32_t v)
int32_t htobe (int32_t v)
uint64_t htobe (uint64_t v)
int64_t htobe (int64_t v)
double htobe (double v)
float htobe (float v)
uint16_t letoh (uint16_t v)
int16_t letoh (int16_t v)
uint32_t letoh (uint32_t v)
int32_t letoh (int32_t v)
uint64_t letoh (uint64_t v)
int64_t letoh (int64_t v)
double letoh (double v)
float letoh (float v)
uint16_t betoh (uint16_t v)
int16_t betoh (int16_t v)
uint32_t betoh (uint32_t v)
int32_t betoh (int32_t v)
uint64_t betoh (uint64_t v)
int64_t betoh (int64_t v)
double betoh (double v)
float betoh (float v)

Define Documentation

#define be16toh (  )     __bswap_16 (x)

#define be32toh (  )     __bswap_32 (x)

#define be64toh (  )     __bswap_64 (x)

#define BEndian_H   1

#define htobe16 (  )     __bswap_16 (x)

#define htobe32 (  )     __bswap_32 (x)

#define htobe64 (  )     __bswap_64 (x)

#define htole16 (  )     (x)

#define htole32 (  )     (x)

#define htole64 (  )     (x)

#define le16toh (  )     (x)

#define le32toh (  )     (x)

#define le64toh (  )     (x)


Function Documentation

float betoh ( float  v  )  [inline]

double betoh ( double  v  )  [inline]

int64_t betoh ( int64_t  v  )  [inline]

uint64_t betoh ( uint64_t  v  )  [inline]

int32_t betoh ( int32_t  v  )  [inline]

uint32_t betoh ( uint32_t  v  )  [inline]

int16_t betoh ( int16_t  v  )  [inline]

uint16_t betoh ( uint16_t  v  )  [inline]

void bswap_copy ( int  swap,
const void *  src,
void *  dst,
BUInt32  nBytes,
const char *  swapType 
)

void bswap_p16 ( const void *  s,
void *  d 
) [inline]

void bswap_p32 ( const void *  s,
void *  d 
) [inline]

void bswap_p64 ( const void *  s,
void *  d 
) [inline]

void bswap_p8 ( const void *  s,
void *  d 
) [inline]

float htobe ( float  v  )  [inline]

double htobe ( double  v  )  [inline]

int64_t htobe ( int64_t  v  )  [inline]

uint64_t htobe ( uint64_t  v  )  [inline]

int32_t htobe ( int32_t  v  )  [inline]

uint32_t htobe ( uint32_t  v  )  [inline]

int16_t htobe ( int16_t  v  )  [inline]

uint16_t htobe ( uint16_t  v  )  [inline]

float htole ( float  v  )  [inline]

double htole ( double  v  )  [inline]

int64_t htole ( int64_t  v  )  [inline]

uint64_t htole ( uint64_t  v  )  [inline]

int32_t htole ( int32_t  v  )  [inline]

uint32_t htole ( uint32_t  v  )  [inline]

int16_t htole ( int16_t  v  )  [inline]

uint16_t htole ( uint16_t  v  )  [inline]

float letoh ( float  v  )  [inline]

double letoh ( double  v  )  [inline]

int64_t letoh ( int64_t  v  )  [inline]

uint64_t letoh ( uint64_t  v  )  [inline]

int32_t letoh ( int32_t  v  )  [inline]

uint32_t letoh ( uint32_t  v  )  [inline]

int16_t letoh ( int16_t  v  )  [inline]

uint16_t letoh ( uint16_t  v  )  [inline]


Generated on 19 May 2015 for LibBeamApi by  doxygen 1.4.7