Click or drag to resize

CefZipReader Class

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.
Inheritance Hierarchy
SystemObject
  Internal.Xilium.CefGlueCefZipReader

Namespace:  Internal.Xilium.CefGlue
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public sealed class CefZipReader : IDisposable

The CefZipReader type exposes the following members.

Methods
  NameDescription
Public methodClose
Closes the archive. This should be called directly to ensure that cleanup occurs on the correct thread.
Public methodCloseFile
Closes the file.
Public methodStatic memberCreate
Create a new CefZipReader object. The returned object's methods can only be called from the thread that created the object.
Public methodDispose
Releases all resources used by the CefZipReader
Public methodEof
Returns true if at end of the file contents.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize (Overrides ObjectFinalize.)
Public methodGetFileLastModified
Returns the last modified timestamp for the file.
Public methodGetFileName
The below methods act on the file at the current cursor position. Returns the name of the file.
Public methodGetFileSize
Returns the uncompressed size of the file.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodMoveToFile
Moves the cursor to the specified file in the archive. If |caseSensitive| is true then the search will be case sensitive. Returns true if the cursor position was set successfully.
Public methodMoveToFirstFile
Moves the cursor to the first file in the archive. Returns true if the cursor position was set successfully.
Public methodMoveToNextFile
Moves the cursor to the next file in the archive. Returns true if the cursor position was set successfully.
Public methodOpenFile
Opens the file for reading of uncompressed data. A read password may optionally be specified.
Public methodReadFile
Read uncompressed file contents into the specified buffer. Returns < 0 if an error occurred, 0 if at the end of file, or the number of bytes read.
Public methodTell
Returns the current offset in the uncompressed file contents.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
See Also