Class representing a region of memory (e.g., a string or binary buffer).  
 More...
#include <common.h>
Class representing a region of memory (e.g., a string or binary buffer). 
- Note
 - This class does not allocate memory. It merely describes a region of memory which must be allocated externally (if it is dynamic memory). 
 
 
◆ Blob() [1/3]
◆ Blob() [2/3]
  
  
      
        
          | Blob::Blob  | 
          ( | 
          const byte *  | 
          ptr,  | 
         
        
           | 
           | 
          const size_t  | 
          len  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
 
◆ Blob() [3/3]
  
  
      
        
          | Blob::Blob  | 
          ( | 
          const char *  | 
          str | ) | 
           | 
         
       
   | 
  
inlineexplicit   | 
  
 
 
◆ is_null()
  
  
      
        
          | bool Blob::is_null  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ len()
  
  
      
        
          | size_t Blob::len  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ operator[]()
  
  
      
        
          | byte & Blob::operator[]  | 
          ( | 
          unsigned  | 
          pos | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ ptr()
  
  
      
        
          | byte * Blob::ptr  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ trim()
  
  
      
        
          | void Blob::trim  | 
          ( | 
          size_t  | 
          l | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ m_len
Length of the memory region. 
 
 
◆ m_ptr
Pointer to the first byte of the memory region. 
 
 
The documentation for this class was generated from the following file: