#include <XrdZipEOCD.hh>
|
| EOCD (const char *buffer, uint32_t maxSize=0) |
| Constructor from buffer.
|
|
| EOCD (uint64_t cdoff, uint32_t cdcnt, uint32_t cdsize) |
| Constructor from last LFH + CDFH.
|
|
void | Serialize (buffer_t &buffer) |
| Serialize the object into a buffer.
|
|
std::string | ToString () |
| Convert the EOCD into a string for logging purposes.
|
|
|
static const char * | Find (const char *buffer, uint64_t size) |
|
◆ EOCD() [1/2]
XrdZip::EOCD::EOCD |
( |
const char * |
buffer, |
|
|
uint32_t |
maxSize = 0 |
|
) |
| |
|
inline |
Constructor from buffer.
References cdOffset, cdSize, comment, commentLength, eocdBaseSize, eocdSize, nbCdRec, nbCdRecD, nbDisk, nbDiskCd, and useZip64.
◆ EOCD() [2/2]
XrdZip::EOCD::EOCD |
( |
uint64_t |
cdoff, |
|
|
uint32_t |
cdcnt, |
|
|
uint32_t |
cdsize |
|
) |
| |
|
inline |
◆ Find()
static const char * XrdZip::EOCD::Find |
( |
const char * |
buffer, |
|
|
uint64_t |
size |
|
) |
| |
|
inlinestatic |
◆ Serialize()
void XrdZip::EOCD::Serialize |
( |
buffer_t & |
buffer | ) |
|
|
inline |
◆ ToString()
std::string XrdZip::EOCD::ToString |
( |
| ) |
|
|
inline |
◆ cdOffset
uint32_t XrdZip::EOCD::cdOffset |
◆ cdSize
uint32_t XrdZip::EOCD::cdSize |
◆ comment
std::string XrdZip::EOCD::comment |
◆ commentLength
uint16_t XrdZip::EOCD::commentLength |
◆ eocdBaseSize
const uint16_t XrdZip::EOCD::eocdBaseSize = 22 |
|
static |
◆ eocdSign
const uint32_t XrdZip::EOCD::eocdSign = 0x06054b50 |
|
static |
◆ eocdSize
uint16_t XrdZip::EOCD::eocdSize |
◆ maxCommentLength
const uint16_t XrdZip::EOCD::maxCommentLength = 65535 |
|
static |
◆ nbCdRec
uint16_t XrdZip::EOCD::nbCdRec |
◆ nbCdRecD
uint16_t XrdZip::EOCD::nbCdRecD |
◆ nbDisk
uint16_t XrdZip::EOCD::nbDisk |
◆ nbDiskCd
uint16_t XrdZip::EOCD::nbDiskCd |
◆ useZip64
bool XrdZip::EOCD::useZip64 |
The documentation for this struct was generated from the following file: