Class TCefZipReaderRef

Description
Hierarchy
Fields
Methods
Properties

Unit

Declaration

type TCefZipReaderRef = class(TCefBaseRefCountedRef, ICefZipReader)

Description

This item has no description.

Hierarchy

Overview

Methods

Protected function MoveToFirstFile: Boolean;
Protected function MoveToNextFile: Boolean;
Protected function MoveToFile(const fileName: ustring; caseSensitive: Boolean): Boolean;
Protected function Close: Boolean;
Protected function GetFileName: ustring;
Protected function GetFileSize: Int64;
Protected function GetFileLastModified: TCefBaseTime;
Protected function OpenFile(const password: ustring): Boolean;
Protected function CloseFile: Boolean;
Protected function ReadFile(buffer: Pointer; bufferSize: NativeUInt): Integer;
Protected function Tell: Int64;
Protected function Eof: Boolean;
Public class function UnWrap(data: Pointer): ICefZipReader;
Public class function New(const stream: ICefStreamReader): ICefZipReader;

Description

Methods

Protected function MoveToFirstFile: Boolean;

This item has no description. Showing description inherited from ICefZipReader.MoveToFirstFile.

Moves the cursor to the first file in the archive. Returns true (1) if the cursor position was set successfully.

Protected function MoveToNextFile: Boolean;

This item has no description. Showing description inherited from ICefZipReader.MoveToNextFile.

Moves the cursor to the next file in the archive. Returns true (1) if the cursor position was set successfully.

Protected function MoveToFile(const fileName: ustring; caseSensitive: Boolean): Boolean;

This item has no description. Showing description inherited from ICefZipReader.MoveToFile.

Moves the cursor to the specified file in the archive. If |caseSensitive| is true (1) then the search will be case sensitive. Returns true (1) if the cursor position was set successfully.

Protected function Close: Boolean;

This item has no description. Showing description inherited from ICefZipReader.Close.

Closes the archive. This should be called directly to ensure that cleanup occurs on the correct thread.

Protected function GetFileName: ustring;

This item has no description. Showing description inherited from ICefZipReader.GetFileName.

Returns the name of the file.

Protected function GetFileSize: Int64;

This item has no description. Showing description inherited from ICefZipReader.GetFileSize.

Returns the uncompressed size of the file.

Protected function GetFileLastModified: TCefBaseTime;

This item has no description. Showing description inherited from ICefZipReader.GetFileLastModified.

Returns the last modified timestamp for the file.

Protected function OpenFile(const password: ustring): Boolean;

This item has no description. Showing description inherited from ICefZipReader.OpenFile.

Opens the file for reading of uncompressed data. A read password may optionally be specified.

Protected function CloseFile: Boolean;

This item has no description. Showing description inherited from ICefZipReader.CloseFile.

Closes the file.

Protected function ReadFile(buffer: Pointer; bufferSize: NativeUInt): Integer;

This item has no description. Showing description inherited from ICefZipReader.ReadFile.

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.

Protected function Tell: Int64;

This item has no description. Showing description inherited from ICefZipReader.Tell.

Returns the current offset in the uncompressed file contents.

Protected function Eof: Boolean;

This item has no description. Showing description inherited from ICefZipReader.Eof.

Returns true (1) if at end of the file contents.

Public class function UnWrap(data: Pointer): ICefZipReader;

This item has no description.

Public class function New(const stream: ICefStreamReader): ICefZipReader;

This item has no description.


Generated by PasDoc 0.16.0-snapshot.