Overview   Project   Class   Tree   Index 
CEF3 C++ API Docs - Version 75.1.4+g4210896+chromium-75.0.3770.100
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

(default)
Class CefWriteHandler

CefBaseRefCounted
   |
   +--CefWriteHandler

   in cef_stream.h

class CefWriteHandler
extends CefBaseRefCounted

Interface the client can implement to provide a custom stream writer. The methods of this class may be called on any thread.


Method Summary
 virtual int Flush()= 0
          Flush the stream.
 virtual bool MayBlock()= 0
          Return true if this handler performs work like accessing the file system which may block.
 virtual int Seek( int64 offset, int whence )= 0
          Seek to the specified offset position.
 virtual int64 Tell()= 0
          Return the current offset position.
 virtual size_t Write( const void* ptr, size_t size, size_t n )= 0
          Write raw binary data.
   
Methods inherited from class CefBaseRefCounted
AddRef, Release, HasOneRef, HasAtLeastOneRef
 

Method Detail

Flush

public virtual int Flush()= 0;
Flush the stream.

MayBlock

public virtual bool MayBlock()= 0;
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

public virtual int Seek( int64 offset, int whence )= 0;
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

public virtual int64 Tell()= 0;
Return the current offset position.

Write

public virtual size_t Write( const void* ptr, size_t size, size_t n )= 0;
Write raw binary data.

 Overview   Project   Class   Tree   Index 
CEF3 C++ API Docs - Version 75.1.4+g4210896+chromium-75.0.3770.100
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

Chromium Embedded Framework (CEF) Copyright © 2016 Marshall A. Greenblatt