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