BitStream
bitstream::growing_policy< T > Struct Template Reference

#include <stream_traits.h>

Public Member Functions

 growing_policy (T &container) noexcept
 
uint32_t * get_buffer () const noexcept
 
uint32_t get_num_bits_serialized () const noexcept
 
bool can_serialize_bits (uint32_t num_bits) const noexcept
 
uint32_t get_total_bits () const noexcept
 
bool extend (uint32_t num_bits)
 

Public Attributes

T & m_Buffer
 
uint32_t m_NumBitsSerialized
 

Constructor & Destructor Documentation

◆ growing_policy()

template<typename T >
bitstream::growing_policy< T >::growing_policy ( T &  container)
inlinenoexcept

Member Function Documentation

◆ can_serialize_bits()

template<typename T >
bool bitstream::growing_policy< T >::can_serialize_bits ( uint32_t  num_bits) const
inlinenoexcept

◆ extend()

template<typename T >
bool bitstream::growing_policy< T >::extend ( uint32_t  num_bits)
inline

◆ get_buffer()

template<typename T >
uint32_t* bitstream::growing_policy< T >::get_buffer ( ) const
inlinenoexcept

◆ get_num_bits_serialized()

template<typename T >
uint32_t bitstream::growing_policy< T >::get_num_bits_serialized ( ) const
inlinenoexcept

◆ get_total_bits()

template<typename T >
uint32_t bitstream::growing_policy< T >::get_total_bits ( ) const
inlinenoexcept

Member Data Documentation

◆ m_Buffer

template<typename T >
T& bitstream::growing_policy< T >::m_Buffer

◆ m_NumBitsSerialized

template<typename T >
uint32_t bitstream::growing_policy< T >::m_NumBitsSerialized

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