iostream class, which write and read data from memory  
 More...
#include <dabc/Record.h>
|  | 
| static uint64_t | str_storesize (const std::string &str) | 
|  | Returns bytes count, required to store string.  More... 
 | 
|  | 
iostream class, which write and read data from memory 
Definition at line 133 of file Record.h.
◆ memstream()
  
  | 
        
          | dabc::memstream::memstream | ( | bool | isinp, |  
          |  |  | char * | buf, |  
          |  |  | uint64_t | len |  
          |  | ) |  |  |  | inline | 
 
 
◆ ~memstream()
  
  | 
        
          | virtual dabc::memstream::~memstream | ( |  | ) |  |  | inlinevirtual | 
 
 
◆ tmpbuf_size()
  
  | 
        
          | virtual uint64_t dabc::memstream::tmpbuf_size | ( |  | ) | const |  | inlineprotectedvirtual | 
 
return number of bytes which are directly available in temporary buffer 
Reimplemented from dabc::iostream.
Definition at line 140 of file Record.h.
 
 
◆ tmpbuf()
  
  | 
        
          | virtual char* dabc::memstream::tmpbuf | ( |  | ) | const |  | inlineprotectedvirtual | 
 
 
◆ size()
  
  | 
        
          | virtual uint64_t dabc::memstream::size | ( |  | ) | const |  | inlinevirtual | 
 
return number of bytes, written or read from the stream 
Reimplemented from dabc::iostream.
Definition at line 145 of file Record.h.
 
 
◆ maxstoresize()
  
  | 
        
          | virtual uint64_t dabc::memstream::maxstoresize | ( |  | ) | const |  | inlinevirtual | 
 
return maximum size of data which can be stored in the stream 
Reimplemented from dabc::iostream.
Definition at line 146 of file Record.h.
 
 
◆ shift()
  
  | 
        
          | bool dabc::memstream::shift | ( | uint64_t | len | ) |  |  | virtual | 
 
 
◆ write()
  
  | 
        
          | bool dabc::memstream::write | ( | const void * | src, |  
          |  |  | uint64_t | len |  
          |  | ) |  |  |  | virtual | 
 
 
◆ read()
  
  | 
        
          | bool dabc::memstream::read | ( | void * | tgt, |  
          |  |  | uint64_t | len |  
          |  | ) |  |  |  | virtual | 
 
 
◆ fMem
  
  | 
        
          | char* dabc::memstream::fMem |  | protected | 
 
 
◆ fLength
  
  | 
        
          | uint64_t dabc::memstream::fLength |  | protected | 
 
 
◆ fCurr
  
  | 
        
          | char* dabc::memstream::fCurr |  | protected | 
 
 
◆ fRemains
  
  | 
        
          | uint64_t dabc::memstream::fRemains |  | protected | 
 
 
The documentation for this class was generated from the following files: