1 #ifndef BITSET_APPEND_H 2 #define BITSET_APPEND_H 3 #include <boost/dynamic_bitset.hpp> 6 boost::dynamic_bitset<>
append(
const boost::dynamic_bitset<> & bs1,
7 const boost::dynamic_bitset<> & bs2);
9 boost::dynamic_bitset<>
ushortToBitset(
const unsigned int numberOfBits,
10 unsigned short * buf);
13 void printWords(
const boost::dynamic_bitset<> & bs);
boost::dynamic_bitset append(const boost::dynamic_bitset<> &bs1, const boost::dynamic_bitset<> &bs2)
this method takes two bitsets bs1 and bs2 and returns result of bs2 appended to the end of bs1 ...
void printWords(const boost::dynamic_bitset<> &bs)
void bitsetToChar(const boost::dynamic_bitset<> &bs, unsigned char *result)
this method takes bitset obj and returns char * array
this file contains additional dynamic_bitset methods
boost::dynamic_bitset ushortToBitset(const unsigned int numberOfBits, unsigned short *buf)
this method takes numberOfBits bits from unsigned short * array and returns them in the bitset obj...