Library: Zip
Package: Zip
Header: Poco/Zip/ZipDataInfo.h
A ZipDataInfo stores a Zip data descriptor
Member Functions: getCRC32, getCompressedSize, getFullHeaderSize, getRawHeader, getUncompressedSize, isValid, setCRC32, setCompressedSize, setUncompressedSize
ZipDataInfo();
Creates a header with all fields (except the header field) set to 0
ZipDataInfo(
std::istream & in,
bool assumeHeaderRead
);
Creates the ZipDataInfo.
~ZipDataInfo();
Destroys the ZipDataInfo.
Poco::UInt32 getCRC32() const;
Poco::UInt32 getCompressedSize() const;
static Poco::UInt32 getFullHeaderSize();
const char * getRawHeader() const;
Poco::UInt32 getUncompressedSize() const;
bool isValid() const;
void setCRC32(
Poco::UInt32 crc
);
void setCompressedSize(
Poco::UInt32 size
);
void setUncompressedSize(
Poco::UInt32 size
);
static const char HEADER[ZipCommon::HEADER_SIZE];