#include <XrdZipExtra.hh>
|
| Extra (uint64_t fileSize) |
| Constructor from file size.
|
|
| Extra (Extra *extra, uint64_t offset) |
| Constructor from another extra + offset.
|
|
| Extra () |
| Default constructor.
|
|
void | FromBuffer (const char *&buffer, uint16_t exsize, uint8_t flags) |
| Constructor from buffer.
|
|
void | Serialize (buffer_t &buffer) |
| Serialize the extra field into a buffer.
|
|
|
static const char * | Find (const char *buffer, uint16_t length) |
|
|
static const uint16_t | headerID = 0x0001 |
| The extra field marker.
|
|
◆ Ovrflw
Enumerator |
---|
NONE | |
UCMPSIZE | |
CPMSIZE | |
OFFSET | |
NBDISK | |
◆ Extra() [1/3]
XrdZip::Extra::Extra |
( |
uint64_t |
fileSize | ) |
|
|
inline |
◆ Extra() [2/3]
XrdZip::Extra::Extra |
( |
Extra * |
extra, |
|
|
uint64_t |
offset |
|
) |
| |
|
inline |
◆ Extra() [3/3]
◆ Find()
static const char * XrdZip::Extra::Find |
( |
const char * |
buffer, |
|
|
uint16_t |
length |
|
) |
| |
|
inlinestatic |
◆ FromBuffer()
void XrdZip::Extra::FromBuffer |
( |
const char *& |
buffer, |
|
|
uint16_t |
exsize, |
|
|
uint8_t |
flags |
|
) |
| |
|
inline |
Constructor from buffer.
References compressedSize, CPMSIZE, dataSize, XrdZip::from_buffer(), headerID, NBDISK, nbDisk, OFFSET, offset, UCMPSIZE, and uncompressedSize.
◆ Serialize()
void XrdZip::Extra::Serialize |
( |
buffer_t & |
buffer | ) |
|
|
inline |
◆ compressedSize
uint64_t XrdZip::Extra::compressedSize |
◆ dataSize
uint16_t XrdZip::Extra::dataSize |
◆ headerID
const uint16_t XrdZip::Extra::headerID = 0x0001 |
|
static |
◆ nbDisk
uint32_t XrdZip::Extra::nbDisk |
◆ offset
uint64_t XrdZip::Extra::offset |
◆ totalSize
uint16_t XrdZip::Extra::totalSize |
◆ uncompressedSize
uint64_t XrdZip::Extra::uncompressedSize |
The documentation for this struct was generated from the following file: