|
CEF3 C++ API Docs - Version 80.1.4+g8927396+chromium-80.0.3987.149 | ||||||
FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
CefBaseRefCounted | +--CefReadHandlerin cef_stream.h
Interface the client can implement to provide a custom stream reader. The methods of this class may be called on any thread.
Method Summary | |
virtual int |
Eof()= 0
Return non-zero if at end of file. |
virtual bool |
MayBlock()= 0
Return true if this handler performs work like accessing the file system which may block. |
virtual size_t |
Read( void* ptr, size_t size, size_t n )= 0
Read raw binary data. |
virtual int |
Seek( int64 offset, int whence )= 0
Seek to the specified offset position. |
virtual int64 |
Tell()= 0
Return the current offset position. |
Methods inherited from class CefBaseRefCounted |
AddRef, Release, HasOneRef, HasAtLeastOneRef |
Method Detail |
public virtual int Eof()= 0;
public virtual bool MayBlock()= 0;
public virtual size_t Read( void* ptr, size_t size, size_t n )= 0;
public virtual int Seek( int64 offset, int whence )= 0;
public virtual int64 Tell()= 0;
|
CEF3 C++ API Docs - Version 80.1.4+g8927396+chromium-80.0.3987.149 | ||||||
FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |