![]() |
![]() |
00001 #ifndef BITSET_APPEND_H 00002 #define BITSET_APPEND_H 00003 #include <boost/dynamic_bitset.hpp> 00004 00005 namespace bitset_utilities { 00006 boost::dynamic_bitset<> append(const boost::dynamic_bitset<> & bs1, 00007 const boost::dynamic_bitset<> & bs2); 00008 00009 boost::dynamic_bitset<> ushortToBitset(const unsigned int numberOfBits, 00010 unsigned short * buf); 00011 void bitsetToChar(const boost::dynamic_bitset<> & bs, unsigned char * result); 00012 00013 void printWords(const boost::dynamic_bitset<> & bs); 00014 00015 00016 } 00017 00018 #endif