Definition at line 292 of file archive_zip.cpp.
void ArchiveFile_Zip::AdjustOffset |
( |
| ) |
const |
|
inlineprivate |
fix up m_ofs (adjust it to point to cdata instead of the LFH).
note: we cannot use CDFH filename and extra field lengths to skip past LFH since that may not mirror CDFH (has happened).
this is called at file-open time instead of while mounting to reduce seeks: since reading the file will typically follow, the block cache entirely absorbs the IO cost.
Definition at line 401 of file archive_zip.cpp.
virtual Status ArchiveFile_Zip::Load |
( |
const OsPath & |
name, |
|
|
const shared_ptr< u8 > & |
buf, |
|
|
size_t |
size |
|
) |
| const |
|
inlinevirtual |
virtual wchar_t ArchiveFile_Zip::LocationCode |
( |
| ) |
const |
|
inlinevirtual |
virtual OsPath ArchiveFile_Zip::Path |
( |
| ) |
const |
|
inlinevirtual |
virtual size_t ArchiveFile_Zip::Precedence |
( |
| ) |
const |
|
inlinevirtual |
u32 ArchiveFile_Zip::m_checksum |
|
private |
off_t ArchiveFile_Zip::m_csize |
|
private |
PFile ArchiveFile_Zip::m_file |
|
private |
u16 ArchiveFile_Zip::m_flags |
|
mutableprivate |
u16 ArchiveFile_Zip::m_method |
|
private |
off_t ArchiveFile_Zip::m_ofs |
|
mutableprivate |
The documentation for this class was generated from the following file: