Chromium Embedded Framework (CEF)  115.2.0+g096e3eb+chromium-115.0.5790.13
CefZipArchive::File Class Referenceabstract

Class representing a file in the archive. More...

#include "include/wrapper/cef_zip_archive.h"

Inheritance diagram for CefZipArchive::File:
CefBaseRefCounted

Public Member Functions

virtual const unsigned char * GetData () const =0
 Returns the read-only data contained in the file. More...
 
virtual size_t GetDataSize () const =0
 Returns the size of the data in the file. More...
 
virtual CefRefPtr< CefStreamReaderGetStreamReader () const =0
 Returns a CefStreamReader object for streaming the contents of the file. More...
 
- Public Member Functions inherited from CefBaseRefCounted
virtual void AddRef () const =0
 Called to increment the reference count for the object. More...
 
virtual bool Release () const =0
 Called to decrement the reference count for the object. More...
 
virtual bool HasOneRef () const =0
 Returns true if the reference count is 1. More...
 
virtual bool HasAtLeastOneRef () const =0
 Returns true if the reference count is at least 1. More...
 

Additional Inherited Members

- Protected Member Functions inherited from CefBaseRefCounted
virtual ~CefBaseRefCounted ()
 

Detailed Description

Class representing a file in the archive.

Accessing the file data from multiple threads is safe provided a reference to the File object is kept.

Member Function Documentation

◆ GetData()

virtual const unsigned char* CefZipArchive::File::GetData ( ) const
pure virtual

Returns the read-only data contained in the file.

◆ GetDataSize()

virtual size_t CefZipArchive::File::GetDataSize ( ) const
pure virtual

Returns the size of the data in the file.

◆ GetStreamReader()

virtual CefRefPtr<CefStreamReader> CefZipArchive::File::GetStreamReader ( ) const
pure virtual

Returns a CefStreamReader object for streaming the contents of the file.


The documentation for this class was generated from the following file: