|
std::string | to_string (const boost::dynamic_bitset< boost::uint8_t > &bitset) |
| Create string representation of the dynamic bitset given. More...
|
|
template<typename uintX_t > |
std::string | to_binstring (uintX_t value) |
| Returns a string representation in bits of the int given. More...
|
|
template<typename uintX_t , size_t bitsetSize> |
uintX_t | to_uint (const std::bitset< bitsetSize > value) |
|
boost::dynamic_bitset< boost::uint8_t > & | shift_in_bitset (boost::dynamic_bitset< boost::uint8_t > &hostBitset, const boost::dynamic_bitset< boost::uint8_t > &clientBitset) |
| This function pads the given client bitset in the host by making a copy of clientBitset, resizing the clientBitset or-ing it in the hostBitset and returning the hostBitset. More...
|
|
boost::container::vector< boost::uint8_t > | to_bytearray (const boost::dynamic_bitset< boost::uint8_t > &bitset) |
| This converts the given boost::dynamic_bitset to an array of 8-bit wide bytes. More...
|
|
boost::dynamic_bitset< boost::uint8_t > | to_bitset (const boost::container::vector< boost::uint8_t > &byteArray, size_t resultingBitSetSize=0) |
| Converts a byte array into a bitset. More...
|
|
Utilities to deal with bits : shift them, read them out in a given uint_X_t type and so on.