15 #ifndef ROOT_TArchiveFile
Class describing an archive file containing multiple sub-files, like a ZIP or TAR archive...
Int_t ReadZip64EndRecord(Long64_t pos)
Read Zip64 end of central directory record.
TZIPMember & operator=(const TZIPMember &rhs)
Assignment operator.
virtual Int_t SetCurrentMember()
Find the desired member in the member array and make it the current member.
Long64_t fDirSize
Central directory size.
virtual Int_t OpenArchive()
Open archive and read end-header and directory.
void * fLocal
Extra file header data.
Max variable-width field length.
Int_t ReadMemberHeader(TZIPMember *member)
Read the member header of the ZIP archive.
Long64_t FindEndHeader()
Find the end header of the ZIP archive. Returns 0 in case of error.
UInt_t Get(const void *buffer, Int_t bytes)
Read a "bytes" long little-endian integer value from "buffer".
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format...
Int_t ReadEndHeader(Long64_t pos)
Read the end header of the ZIP archive including the archive comment at the current file position...
UInt_t GetLocalLen() const
TString fComment
Archive comment.
ULong64_t Get64(const void *buffer, Int_t bytes)
Read a 8 byte long little-endian integer value from "buffer".
Long64_t fDirPos
Central directory position.
Zip64 Extended Information Extra Field.
#define ClassDef(name, id)
Describes a ZIP archive file containing multiple sub-files.
void Print(Option_t *option="") const
Pretty print basic ZIP member info.
UInt_t GetAttrInt() const
void Print(Option_t *option="") const
Pretty print ZIP archive members.
UInt_t GetAttrExt() const
Long64_t ReadZip64EndLocator(Long64_t pos)
Read Zip64 end of central directory locator.
EZIPConstants
ZIP archive constants.
UInt_t fGlobalLen
Length of extra directory data.
Int_t ReadDirectory()
Read the directory of the ZIP archive.
UInt_t fMethod
Compression type.
Long64_t fDirOffset
Central directory offset (from the beginning of the archive)
UInt_t fAttrExt
External file attributes.
unsigned long long ULong64_t
UInt_t GetGlobalLen() const
virtual ~TZIPMember()
Cleanup.
Int_t DecodeZip64ExtendedExtraField(TZIPMember *m, Bool_t global=kTRUE)
Decode the Zip64 extended extra field.
UInt_t fLocalLen
Length of extra file header data.
UInt_t fLevel
Compression level.
void * fGlobal
Extra directory data.
A ZIP archive consists of files compressed with the popular ZLIB compression algorithm; this class re...
TZIPFile & operator=(const TZIPFile &)
UInt_t fAttrInt
Internal file attributes.
UInt_t fCRC32
CRC-32 for all decompressed data.