|
CEF C++ API Docs - Revision 439 | ||||||
| FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
CefBase | +--CefStreamWriterin cef.h
Class used to write data to a stream. The methods of this class may be called on any thread.
| Method Summary | |
static CefRefPtr< CefStreamWriter > |
CreateForFile( const CefString& fileName )
Create a new CefStreamWriter object for a file. |
static CefRefPtr< CefStreamWriter > |
CreateForHandler( CefRefPtr< CefWriteHandler > handler )
Create a new CefStreamWriter object for a custom handler. |
virtual int |
Flush()= 0
Flush the stream. |
virtual int |
Seek( long offset, int whence )= 0
Seek to the specified offset position. |
virtual long |
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 CefBase |
AddRef, Release, GetRefCt |
| Method Detail |
public static CefRefPtr< CefStreamWriter > CreateForFile( const CefString& fileName );
public static CefRefPtr< CefStreamWriter > CreateForHandler( CefRefPtr< CefWriteHandler > handler );
public virtual int Flush()= 0;
public virtual int Seek( long offset, int whence )= 0;
public virtual long Tell()= 0;
public virtual size_t Write( const void* ptr, size_t size, size_t n )= 0;
|
CEF C++ API Docs - Revision 439 | ||||||
| FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||