  | 
  
    ATLAS Offline Software
    
   | 
 
 
 
 
Go to the documentation of this file.
   16 #ifndef CXXUTILS_BITUNPACKER_H 
   17 #define CXXUTILS_BITUNPACKER_H 
   37 template <
class STREAM>
 
   83 template <
class STREAM>
 
  130 template <
class STREAM>
 
  173 #endif // not CXXUTILS_BITUNPACKER_H 
  
BitUnpacker(uint8_t nbits, STREAM &stream)
Constructor.
 
uint32_t m_buf
Buffer for the current word being unpacked.
 
uint8_t m_nbuf
Number of valid words currently buffered.
 
BitUnpacker16(uint8_t nbits, STREAM &stream)
Constructor.
 
BitUnpacker8(STREAM &stream)
Constructor.
 
uint32_t unpack()
Unpack one value from the stream.
 
uint32_t unpack()
Unpack one value from the stream.
 
uint32_t m_mask
Mask with the low m_nbits bits set.
 
uint32_t m_buf
Buffer for the current word being unpacked.
 
Helper to unpack a set of values bitwise from a stream.
 
BitUnpacker16(STREAM &stream)
Constructor.
 
uint32_t m_buf
Buffer for the current word being unpacked.
 
uint8_t m_nbuf
Number of valid bits currently buffered.
 
uint8_t m_nbits
Number of bits to use for each item.
 
Helper to unpack a set of values bitwise from a stream.
 
Helper to unpack a set of values bitwise from a stream.
 
STREAM & m_stream
The input stream.
 
uint32_t unpack()
Unpack one value from the stream.
 
STREAM & m_stream
The input stream.
 
uint8_t m_nbuf
Number of valid bytes currently buffered.
 
STREAM & m_stream
The input stream.
 
BitUnpacker8(uint8_t nbits, STREAM &stream)
Constructor.