(default)
Class CefReadHandler
CefBase
|
+--CefReadHandler
in cef_stream.h
- Direct Known Subclasses:
- CefByteReadHandler
- class CefReadHandler
- extends CefBase
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 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. |
Eof
public virtual int Eof()= 0;
- Return non-zero if at end of file.
Read
public virtual size_t Read( void* ptr, size_t size, size_t n )= 0;
- Read raw binary data.
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.
Chromium Embedded Framework (CEF) Copyright © 2011 Marshall A. Greenblatt