|
CEF3 C++ API Docs - Version 75.1.4+g4210896+chromium-75.0.3770.100 | ||||||
FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
CefBaseRefCounted | +--CefStreamWriterin cef_stream.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 bool |
MayBlock()= 0
Returns true if this writer 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 |
public static CefRefPtr< CefStreamWriter > CreateForFile( const CefString& fileName );
public static CefRefPtr< CefStreamWriter > CreateForHandler( CefRefPtr< CefWriteHandler > handler );
public virtual int Flush()= 0;
public virtual bool MayBlock()= 0;
public virtual int Seek( int64 offset, int whence )= 0;
public virtual int64 Tell()= 0;
public virtual size_t Write( const void* ptr, size_t size, size_t n )= 0;
|
CEF3 C++ API Docs - Version 75.1.4+g4210896+chromium-75.0.3770.100 | ||||||
FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |