A bit buffer using monotonic allocation. 
- See also
 - Two alternatives are provided with BitBuffer and BitBufferLocal. 
 
Definition at line 472 of file bitbuffer.inl.
 
◆ ma
The monotonic allocator used internally to allocate the storage. This is provided with construction. 
Definition at line 477 of file bitbuffer.inl.
 
 
◆ storage
◆ BitBufferMA()
Constructor taking an external monotonic allocator and the initial capacity. 
- Parameters
 - 
  
    | monoAllocator | A reference to a monotonic allocator to use to allocate buffer storage data.  | 
    | initialCapacity | The requested initial capacity of the buffer in bits.  | 
  
   
Definition at line 489 of file bitbuffer.inl.
 
 
◆ Capacity()
  
  
      
        
          | virtual uinteger alib::bitbuffer::BitBufferMA::Capacity  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlineoverridevirtual   | 
  
 
 
◆ EnsureCapacity()
Checks if the given required storage space is internally reserved. If not, the internal capacity is doubled, or, if more is required, set to the required space.
- Parameters
 - 
  
    | bitsRequired | The number of bits divided required.  | 
    | idx | The index of current buffer use.  | 
  
   
- Returns
 true if the space is available or could be made available, false otherwise. 
Implements alib::bitbuffer::BitBufferBase.
Definition at line 515 of file bitbuffer.inl.
 
 
◆ GetAllocator()
Returns the internal monotonic allocator for external use. 
- Returns
 - The monotonic allocator given on construction. 
 
Definition at line 530 of file bitbuffer.inl.
 
 
The documentation for this class was generated from the following file: