|
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 | +--CefZipReaderin cef_zip_reader.h
Class that supports the reading of zip archives via the zlib unzip API. The methods of this class should only be called on the thread that creates the object.
Method Summary | |
virtual bool |
Close()= 0
Closes the archive. |
virtual bool |
CloseFile()= 0
Closes the file. |
static CefRefPtr< CefZipReader > |
Create( CefRefPtr< CefStreamReader > stream )
Create a new CefZipReader object. |
virtual bool |
Eof()= 0
Returns true if at end of the file contents. |
virtual CefTime |
GetFileLastModified()= 0
Returns the last modified timestamp for the file. |
virtual CefString |
GetFileName()= 0
Returns the name of the file. |
virtual int64 |
GetFileSize()= 0
Returns the uncompressed size of the file. |
virtual bool |
MoveToFile( const CefString& fileName, bool caseSensitive )= 0
Moves the cursor to the specified file in the archive. |
virtual bool |
MoveToFirstFile()= 0
Moves the cursor to the first file in the archive. |
virtual bool |
MoveToNextFile()= 0
Moves the cursor to the next file in the archive. |
virtual bool |
OpenFile( const CefString& password )= 0
Opens the file for reading of uncompressed data. |
virtual int |
ReadFile( void* buffer, size_t bufferSize )= 0
Read uncompressed file contents into the specified buffer. |
virtual int64 |
Tell()= 0
Returns the current offset in the uncompressed file contents. |
Methods inherited from class CefBaseRefCounted |
AddRef, Release, HasOneRef, HasAtLeastOneRef |
Method Detail |
public virtual bool Close()= 0;
public virtual bool CloseFile()= 0;
public static CefRefPtr< CefZipReader > Create( CefRefPtr< CefStreamReader > stream );
public virtual bool Eof()= 0;
public virtual CefTime GetFileLastModified()= 0;
public virtual CefString GetFileName()= 0;
public virtual int64 GetFileSize()= 0;
public virtual bool MoveToFile( const CefString& fileName, bool caseSensitive )= 0;
public virtual bool MoveToFirstFile()= 0;
public virtual bool MoveToNextFile()= 0;
public virtual bool OpenFile( const CefString& password )= 0;
public virtual int ReadFile( void* buffer, size_t bufferSize )= 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 |