xrootd
Loading...
Searching...
No Matches
Classes | Typedefs | Functions
XrdZip Namespace Reference

Classes

struct  bad_data
 
struct  CDFH
 
struct  DataDescriptor
 
struct  dos_timestmp
 
struct  EOCD
 
struct  Extra
 
struct  LFH
 A data structure representing ZIP Local File Header. More...
 
struct  ovrflw
 
struct  ZIP64_EOCD
 
struct  ZIP64_EOCDL
 A data structure representing the ZIP64 end of central directory locator. More...
 

Typedefs

typedef std::vector< std::unique_ptr< CDFH > > cdvec_t
 
typedef std::unordered_map< std::string, size_t > cdmap_t
 
typedef std::unordered_map< std::string, std::unique_ptr< CDFH > > cdrecs_t
 
typedef std::vector< char > buffer_t
 

Functions

template<typename INT >
static void copy_bytes (const INT value, buffer_t &buffer)
 
template<typename INT >
static void from_buffer (INT &var, const char *&buffer)
 
template<typename INT >
static INT to (const char *buffer)
 

Typedef Documentation

◆ buffer_t

typedef std::vector<char> XrdZip::buffer_t

◆ cdmap_t

typedef std::unordered_map<std::string, size_t> XrdZip::cdmap_t

◆ cdrecs_t

typedef std::unordered_map<std::string, std::unique_ptr<CDFH> > XrdZip::cdrecs_t

◆ cdvec_t

typedef std::vector<std::unique_ptr<CDFH> > XrdZip::cdvec_t

Function Documentation

◆ copy_bytes()

template<typename INT >
static void XrdZip::copy_bytes ( const INT  value,
buffer_t buffer 
)
inlinestatic

◆ from_buffer()

template<typename INT >
static void XrdZip::from_buffer ( INT &  var,
const char *&  buffer 
)
inlinestatic

References bswap().

Referenced by XrdZip::Extra::FromBuffer(), and XrdZip::LFH::LFH().

◆ to()

template<typename INT >
static INT XrdZip::to ( const char *  buffer)
inlinestatic

References bswap().

Referenced by XrdCl::Timeout::operator=().