commonlib
BitHelper Class Reference

The class BitHelper implements functions for handling bits. More...

#include <bithelper.h>

Static Public Member Functions

template<typename T = uint32_t, typename UT = typename std::make_unsigned<T>::type>
static constexpr UT lsbMask (int N)
 
template<typename T = uint32_t, typename UT = typename std::make_unsigned<T>::type>
static constexpr UT lsbInvMask (int N)
 
template<typename T = uint32_t, typename UT = typename std::make_unsigned<T>::type>
static constexpr UT msbMask (int N)
 
template<typename T = uint32_t, typename UT = typename std::make_unsigned<T>::type>
static constexpr UT msbInvMask (int N)
 
template<typename T >
static constexpr T reverseBitOrder (T N)
 

Detailed Description

The class BitHelper implements functions for handling bits.


The documentation for this class was generated from the following file: