Interface the client can implement to provide a custom stream writer.  
 More...
#include "include/cef_stream.h"
 | 
| virtual size_t  | Write (const void *ptr, size_t size, size_t n)=0 | 
|   | Write raw binary data.  More...
  | 
|   | 
| virtual int  | Seek (int64_t offset, int whence)=0 | 
|   | Seek to the specified offset position.  More...
  | 
|   | 
| virtual int64_t  | Tell ()=0 | 
|   | Return the current offset position.  More...
  | 
|   | 
| virtual int  | Flush ()=0 | 
|   | Flush the stream.  More...
  | 
|   | 
| virtual bool  | MayBlock ()=0 | 
|   | Return true if this handler performs work like accessing the file system which may block.  More...
  | 
|   | 
| virtual void  | AddRef () const =0 | 
|   | Called to increment the reference count for the object.  More...
  | 
|   | 
| virtual bool  | Release () const =0 | 
|   | Called to decrement the reference count for the object.  More...
  | 
|   | 
| virtual bool  | HasOneRef () const =0 | 
|   | Returns true if the reference count is 1.  More...
  | 
|   | 
| virtual bool  | HasAtLeastOneRef () const =0 | 
|   | Returns true if the reference count is at least 1.  More...
  | 
|   | 
Interface the client can implement to provide a custom stream writer. 
The methods of this class may be called on any thread. 
 
◆ Flush()
  
  
      
        
          | virtual int CefWriteHandler::Flush  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
pure virtual   | 
  
 
 
◆ MayBlock()
  
  
      
        
          | virtual bool CefWriteHandler::MayBlock  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
pure virtual   | 
  
 
Return true if this handler performs work like accessing the file system which may block. 
Used as a hint for determining the thread to access the handler from. 
 
 
◆ Seek()
  
  
      
        
          | virtual int CefWriteHandler::Seek  | 
          ( | 
          int64_t  | 
          offset,  | 
         
        
           | 
           | 
          int  | 
          whence  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
pure virtual   | 
  
 
Seek to the specified offset position. 
|whence| may be any one of SEEK_CUR, SEEK_END or SEEK_SET. Return zero on success and non-zero on failure. 
 
 
◆ Tell()
  
  
      
        
          | virtual int64_t CefWriteHandler::Tell  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
pure virtual   | 
  
 
Return the current offset position. 
 
 
◆ Write()
  
  
      
        
          | virtual size_t CefWriteHandler::Write  | 
          ( | 
          const void *  | 
          ptr,  | 
         
        
           | 
           | 
          size_t  | 
          size,  | 
         
        
           | 
           | 
          size_t  | 
          n  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
pure virtual   | 
  
 
 
The documentation for this class was generated from the following file: