#include <XrdZipCDFH.hh>
|
static std::tuple< cdvec_t,
cdmap_t > | Parse (const char *buffer, uint32_t bufferSize, uint16_t nbCdRecords) |
| |
static std::tuple< cdvec_t,
cdmap_t > | Parse (const char *&buffer, uint32_t bufferSize) |
| |
| static size_t | CalcSize (const cdvec_t &cdvec, uint32_t orgcdsz, uint32_t orgcdcnt) |
| |
| static void | Serialize (uint32_t orgcdcnt, const buffer_t &orgcdbuf, const cdvec_t &cdvec, buffer_t &buffer) |
| |
| static uint64_t | GetOffset (const CDFH &cdfh) |
| |
| XrdZip::CDFH::CDFH |
( |
LFH * |
lfh, |
|
|
mode_t |
mode, |
|
|
uint64_t |
lfhOffset |
|
) |
| |
|
inline |
| XrdZip::CDFH::CDFH |
( |
const char * |
buffer, |
|
|
const uint32_t |
maxSize = 0 |
|
) |
| |
|
inline |
References cdfhBaseSize, cdfhSize, commentLength, compressedSize, compressionMethod, XrdZip::dos_timestmp::date, externAttr, extraLength, filename, filenameLength, generalBitFlag, internAttr, minZipVersion, nbDisk, offset, ParseExtra(), XrdZip::dos_timestmp::time, timestmp, uncompressedSize, ZCRC32, and zipVersion.
| static size_t XrdZip::CDFH::CalcSize |
( |
const cdvec_t & |
cdvec, |
|
|
uint32_t |
orgcdsz, |
|
|
uint32_t |
orgcdcnt |
|
) |
| |
|
inlinestatic |
| static uint64_t XrdZip::CDFH::GetOffset |
( |
const CDFH & |
cdfh | ) |
|
|
inlinestatic |
| bool XrdZip::CDFH::HasDataDescriptor |
( |
| ) |
|
|
inline |
| bool XrdZip::CDFH::IsZIP64 |
( |
| ) |
const |
|
inline |
| static std::tuple<cdvec_t, cdmap_t> XrdZip::CDFH::Parse |
( |
const char * |
buffer, |
|
|
uint32_t |
bufferSize, |
|
|
uint16_t |
nbCdRecords |
|
) |
| |
|
inlinestatic |
| static std::tuple<cdvec_t, cdmap_t> XrdZip::CDFH::Parse |
( |
const char *& |
buffer, |
|
|
uint32_t |
bufferSize |
|
) |
| |
|
inlinestatic |
| void XrdZip::CDFH::ParseExtra |
( |
const char * |
buffer, |
|
|
uint16_t |
length |
|
) |
| |
|
inline |
References compressedSize, XrdZip::Extra::CPMSIZE, extra, XrdZip::Extra::Find(), XrdZip::Extra::NBDISK, nbDisk, XrdZip::Extra::NONE, XrdZip::Extra::OFFSET, offset, XrdZip::Extra::UCMPSIZE, and uncompressedSize.
Referenced by CDFH().
| static void XrdZip::CDFH::Serialize |
( |
uint32_t |
orgcdcnt, |
|
|
const buffer_t & |
orgcdbuf, |
|
|
const cdvec_t & |
cdvec, |
|
|
buffer_t & |
buffer |
|
) |
| |
|
inlinestatic |
| void XrdZip::CDFH::Serialize |
( |
buffer_t & |
buffer | ) |
|
|
inline |
Serialize the object into a buffer.
References cdfhSign, comment, commentLength, compressedSize, compressionMethod, XrdZip::copy_bytes(), XrdZip::dos_timestmp::date, externAttr, extra, extraLength, filename, filenameLength, generalBitFlag, internAttr, minZipVersion, nbDisk, offset, XrdZip::dos_timestmp::time, timestmp, uncompressedSize, ZCRC32, and zipVersion.
| const uint16_t XrdZip::CDFH::cdfhBaseSize = 46 |
|
static |
| const uint32_t XrdZip::CDFH::cdfhSign = 0x02014b50 |
|
static |
| uint16_t XrdZip::CDFH::cdfhSize |
| std::string XrdZip::CDFH::comment |
| uint16_t XrdZip::CDFH::commentLength |
| uint32_t XrdZip::CDFH::compressedSize |
| uint16_t XrdZip::CDFH::compressionMethod |
| uint32_t XrdZip::CDFH::externAttr |
| std::unique_ptr<Extra> XrdZip::CDFH::extra |
| uint16_t XrdZip::CDFH::extraLength |
| std::string XrdZip::CDFH::filename |
| uint16_t XrdZip::CDFH::filenameLength |
| uint16_t XrdZip::CDFH::generalBitFlag |
| uint16_t XrdZip::CDFH::internAttr |
| uint16_t XrdZip::CDFH::minZipVersion |
| uint16_t XrdZip::CDFH::nbDisk |
| uint32_t XrdZip::CDFH::offset |
| uint32_t XrdZip::CDFH::uncompressedSize |
| uint32_t XrdZip::CDFH::ZCRC32 |
| uint16_t XrdZip::CDFH::zipVersion |
The documentation for this struct was generated from the following file: