BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bsls_byteorder.h File Reference
#include <bsls_ident.h>
#include <bsls_byteorderutil.h>
#include <bsls_platform.h>

Go to the source code of this file.

Macros

#define BSLS_BYTEORDER_NTOH(x)   BloombergLP::bsls::ByteOrderUtil::swapBytes(x)
 
#define BSLS_BYTEORDER_NTOHS(x)    BloombergLP::bsls::ByteOrderUtil::swapBytes16(x)
 
#define BSLS_BYTEORDER_NTOHL(x)    BloombergLP::bsls::ByteOrderUtil::swapBytes32(x)
 
#define BSLS_BYTEORDER_NTOHLL(x)    BloombergLP::bsls::ByteOrderUtil::swapBytes64(x)
 
#define BSLS_BYTEORDER_HTON(x)   BSLS_BYTEORDER_NTOH(x)
 
#define BSLS_BYTEORDER_HTONS(x)   BSLS_BYTEORDER_NTOHS(x)
 
#define BSLS_BYTEORDER_HTONL(x)   BSLS_BYTEORDER_NTOHL(x)
 
#define BSLS_BYTEORDER_HTONLL(x)   BSLS_BYTEORDER_NTOHLL(x)
 
#define BSLS_BYTEORDER_NTOHS_CONSTANT(x)
 
#define BSLS_BYTEORDER_NTOHL_CONSTANT_NO_MSB(x)
 
#define BSLS_BYTEORDER_NTOHL_CONSTANT(x)
 
#define BSLS_BYTEORDER_NTOHLL_CONSTANT_NO_MSB(x)
 
#define BSLS_BYTEORDER_NTOHLL_CONSTANT(x)
 
#define BSLS_BYTEORDER_HTONS_CONSTANT(x)   BSLS_BYTEORDER_NTOHS_CONSTANT(x)
 
#define BSLS_BYTEORDER_HTONL_CONSTANT(x)   BSLS_BYTEORDER_NTOHL_CONSTANT(x)
 
#define BSLS_BYTEORDER_HTONLL_CONSTANT(x)   BSLS_BYTEORDER_NTOHLL_CONSTANT(x)
 
#define BSLS_BYTEORDER_LE_U16_TO_HOST(x)    BloombergLP::bsls::ByteOrderUtil::swapBytes16(x)
 
#define BSLS_BYTEORDER_LE_U32_TO_HOST(x)    BloombergLP::bsls::ByteOrderUtil::swapBytes32(x)
 
#define BSLS_BYTEORDER_LE_U64_TO_HOST(x)    BloombergLP::bsls::ByteOrderUtil::swapBytes64(x)
 
#define BSLS_BYTEORDER_HOST_U16_TO_LE(x)    BloombergLP::bsls::ByteOrderUtil::swapBytes16(x)
 
#define BSLS_BYTEORDER_HOST_U32_TO_LE(x)    BloombergLP::bsls::ByteOrderUtil::swapBytes32(x)
 
#define BSLS_BYTEORDER_HOST_U64_TO_LE(x)    BloombergLP::bsls::ByteOrderUtil::swapBytes64(x)
 
#define BSLS_BYTEORDER_BE_U16_TO_HOST(x)   (x)
 
#define BSLS_BYTEORDER_BE_U32_TO_HOST(x)   (x)
 
#define BSLS_BYTEORDER_BE_U64_TO_HOST(x)   (x)
 
#define BSLS_BYTEORDER_HOST_U16_TO_BE(x)   (x)
 
#define BSLS_BYTEORDER_HOST_U32_TO_BE(x)   (x)
 
#define BSLS_BYTEORDER_HOST_U64_TO_BE(x)   (x)
 
#define BSLS_BYTEORDER_LE_TO_HOST(x)    BloombergLP::bsls::ByteOrderUtil::swapBytes(x)
 
#define BSLS_BYTEORDER_HOST_TO_LE(x)    BloombergLP::bsls::ByteOrderUtil::swapBytes(x)
 
#define BSLS_BYTEORDER_BE_TO_HOST(x)   (x)
 
#define BSLS_BYTEORDER_HOST_TO_BE(x)   (x)
 

Detailed Description

The content of this file has been pre-processed for Doxygen.