xrootd
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
XrdZip::ZIP64_EOCDL Struct Reference

A data structure representing the ZIP64 end of central directory locator. More...

#include <XrdZipZIP64EOCDL.hh>

Public Member Functions

 ZIP64_EOCDL (const char *buffer)
 Constructor from a buffer.
 
 ZIP64_EOCDL (const EOCD &eocd, const ZIP64_EOCD &zip64Eocd)
 Constructor from EOCD and ZIP64 EOCD.
 
void Serialize (buffer_t &buffer)
 Serialize the object into a buffer.
 
std::string ToString ()
 Convert the EOCDL into a string for logging purposes.
 

Public Attributes

uint32_t nbDiskZip64Eocd
 
uint64_t zip64EocdOffset
 
uint32_t totalNbDisks
 

Static Public Attributes

static const uint32_t zip64EocdlSign = 0x07064b50
 
static const uint16_t zip64EocdlSize = 20
 

Detailed Description

A data structure representing the ZIP64 end of central directory locator.

Constructor & Destructor Documentation

◆ ZIP64_EOCDL() [1/2]

XrdZip::ZIP64_EOCDL::ZIP64_EOCDL ( const char *  buffer)
inline

Constructor from a buffer.

References nbDiskZip64Eocd, totalNbDisks, and zip64EocdOffset.

◆ ZIP64_EOCDL() [2/2]

XrdZip::ZIP64_EOCDL::ZIP64_EOCDL ( const EOCD eocd,
const ZIP64_EOCD zip64Eocd 
)
inline

Member Function Documentation

◆ Serialize()

void XrdZip::ZIP64_EOCDL::Serialize ( buffer_t buffer)
inline

Serialize the object into a buffer.

References XrdZip::copy_bytes(), nbDiskZip64Eocd, totalNbDisks, zip64EocdlSign, and zip64EocdOffset.

◆ ToString()

std::string XrdZip::ZIP64_EOCDL::ToString ( )
inline

Convert the EOCDL into a string for logging purposes.

References nbDiskZip64Eocd, totalNbDisks, and zip64EocdOffset.

Member Data Documentation

◆ nbDiskZip64Eocd

uint32_t XrdZip::ZIP64_EOCDL::nbDiskZip64Eocd

Referenced by Serialize(), ToString(), and ZIP64_EOCDL().

◆ totalNbDisks

uint32_t XrdZip::ZIP64_EOCDL::totalNbDisks

Referenced by Serialize(), ToString(), and ZIP64_EOCDL().

◆ zip64EocdlSign

const uint32_t XrdZip::ZIP64_EOCDL::zip64EocdlSign = 0x07064b50
static

Referenced by Serialize().

◆ zip64EocdlSize

const uint16_t XrdZip::ZIP64_EOCDL::zip64EocdlSize = 20
static

◆ zip64EocdOffset

uint64_t XrdZip::ZIP64_EOCDL::zip64EocdOffset

The documentation for this struct was generated from the following file: