|
static const u8 * | FindRecord (const u8 *buf, size_t size, const u8 *start, u32 magic, size_t recordSize) |
| Scan buffer for a Zip file record. More...
|
|
static Status | ScanForEcdr (const PFile &file, off_t fileSize, u8 *buf, size_t maxScanSize, size_t &cd_numEntries, off_t &cd_ofs, size_t &cd_size) |
|
static Status | LocateCentralDirectory (const PFile &file, off_t fileSize, off_t &cd_ofs, size_t &cd_numEntries, size_t &cd_size) |
|
◆ ArchiveReader_Zip()
ArchiveReader_Zip::ArchiveReader_Zip |
( |
const OsPath & |
pathname | ) |
|
|
inline |
◆ FindRecord()
static const u8 * ArchiveReader_Zip::FindRecord |
( |
const u8 * |
buf, |
|
|
size_t |
size, |
|
|
const u8 * |
start, |
|
|
u32 |
magic, |
|
|
size_t |
recordSize |
|
) |
| |
|
inlinestaticprivate |
Scan buffer for a Zip file record.
- Parameters
-
buf | |
size | |
start | position within buffer |
magic | signature of record |
recordSize | size of record (including signature) |
- Returns
- pointer to record within buffer or 0 if not found.
◆ LocateCentralDirectory()
static Status ArchiveReader_Zip::LocateCentralDirectory |
( |
const PFile & |
file, |
|
|
off_t |
fileSize, |
|
|
off_t & |
cd_ofs, |
|
|
size_t & |
cd_numEntries, |
|
|
size_t & |
cd_size |
|
) |
| |
|
inlinestaticprivate |
◆ ReadEntries()
◆ ScanForEcdr()
static Status ArchiveReader_Zip::ScanForEcdr |
( |
const PFile & |
file, |
|
|
off_t |
fileSize, |
|
|
u8 * |
buf, |
|
|
size_t |
maxScanSize, |
|
|
size_t & |
cd_numEntries, |
|
|
off_t & |
cd_ofs, |
|
|
size_t & |
cd_size |
|
) |
| |
|
inlinestaticprivate |
◆ m_file
PFile ArchiveReader_Zip::m_file |
|
private |
◆ m_fileSize
off_t ArchiveReader_Zip::m_fileSize |
|
private |
The documentation for this class was generated from the following file:
- /home/docker/jenkins/workspace/technical-docs/source/lib/file/archive/archive_zip.cpp