Poco::Zip

class ZipDataInfo

File Information

Library: Zip
Package: Zip
Header: Poco/Zip/ZipDataInfo.h

Description

A ZipDataInfo stores a Zip data descriptor

Member Summary

Member Functions: getCRC32, getCompressedSize, getFullHeaderSize, getRawHeader, getUncompressedSize, isValid, setCRC32, setCompressedSize, setUncompressedSize

Constructors

ZipDataInfo

ZipDataInfo();

Creates a header with all fields (except the header field) set to 0

ZipDataInfo

ZipDataInfo(
    std::istream & in,
    bool assumeHeaderRead
);

Creates the ZipDataInfo.

Destructor

~ZipDataInfo

~ZipDataInfo();

Destroys the ZipDataInfo.

Member Functions

getCRC32 inline

Poco::UInt32 getCRC32() const;

getCompressedSize inline

Poco::UInt32 getCompressedSize() const;

getFullHeaderSize static inline

static Poco::UInt32 getFullHeaderSize();

getRawHeader inline

const char * getRawHeader() const;

getUncompressedSize inline

Poco::UInt32 getUncompressedSize() const;

isValid inline

bool isValid() const;

setCRC32 inline

void setCRC32(
    Poco::UInt32 crc
);

setCompressedSize inline

void setCompressedSize(
    Poco::UInt32 size
);

setUncompressedSize inline

void setUncompressedSize(
    Poco::UInt32 size
);

Variables

HEADER static

static const char HEADER[ZipCommon::HEADER_SIZE];