8 #ifndef SRC_XRDZIP_XRDZIPZIP64EOCD_HH_
9 #define SRC_XRDZIP_XRDZIPZIP64EOCD_HH_
34 nbDisk = to<uint32_t>(buffer + 16);
35 nbDiskCd = to<uint32_t>(buffer + 20);
36 nbCdRecD = to<uint64_t>(buffer + 24);
37 nbCdRec = to<uint64_t>(buffer + 32);
38 cdSize = to<uint64_t>(buffer + 40);
39 cdOffset = to<uint64_t>(buffer + 48);
47 ZIP64_EOCD( uint64_t cdoff, uint32_t cdcnt, uint32_t cdsize ) :
91 ss <<
";nbDisk=" <<
nbDisk;
95 ss <<
";cdSize=" <<
cdSize;
std::vector< char > buffer_t
static void copy_bytes(const INT value, buffer_t &buffer)
uint64_t zip64EocdTotalSize
void Serialize(buffer_t &buffer)
Serialize the object into a buffer.
static const uint32_t zip64EocdSign
uint64_t extensibleDataLength
std::string extensibleData
ZIP64_EOCD(uint64_t cdoff, uint32_t cdcnt, uint32_t cdsize)
Constructor from last LFH + CDFH.
ZIP64_EOCD(const char *buffer)
Constructor from a buffer.
std::string ToString()
Convert the ZIP64EOCD into a string for logging purposes.
static const uint16_t zip64EocdBaseSize