It also provides endian management.
|
Public Types |
enum | State {
WHOLE,
BITS,
OCTETS,
WHOLE,
BITS,
OCTETS,
WHOLE,
BITS,
OCTETS
} |
enum | State {
WHOLE,
BITS,
OCTETS,
WHOLE,
BITS,
OCTETS,
WHOLE,
BITS,
OCTETS
} |
enum | State {
WHOLE,
BITS,
OCTETS,
WHOLE,
BITS,
OCTETS,
WHOLE,
BITS,
OCTETS
} |
typedef enum bit::bstream::State | State |
typedef enum bit::bstream::State | State |
typedef enum bit::bstream::State | State |
Public Member Functions |
bool | is_host_big_endian () |
bool | is_host_little_endian () |
void | host_big_endian (bool b=true) |
void | host_little_endian (bool b=true) |
bool | is_host_big_endian () |
bool | is_host_little_endian () |
void | host_big_endian (bool b=true) |
void | host_little_endian (bool b=true) |
bool | is_host_big_endian () |
bool | is_host_little_endian () |
void | host_big_endian (bool b=true) |
void | host_little_endian (bool b=true) |
Protected Attributes |
bool | m_host_big_endian |
unsigned char | m_leftoverbits |
size_t | m_numleftoverbits |
State | m_state |
size_t | m_stateval |
Static Protected Attributes |
static const int | m_masks [8] |