Poco::Zip

class AutoDetectStreamBuf

File Information

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

Description

AutoDetectStreamBuf automatically detects the end of a stream using the Data Descriptor signature.

Inheritance

Direct Base Classes: Poco::BufferedStreamBuf

All Base Classes: Poco::BufferedStreamBuf

Member Summary

Member Functions: readFromDevice, writeToDevice

Constructors

AutoDetectStreamBuf

AutoDetectStreamBuf(
    std::istream & in,
    const std::string & prefix,
    const std::string & postfix,
    bool reposition,
    Poco::UInt32 start,
    bool needsZip64
);

Creates the AutoDetectStream.

Destructor

~AutoDetectStreamBuf

~AutoDetectStreamBuf();

Destroys the AutoDetectStream.

Member Functions

readFromDevice protected

int readFromDevice(
    char * buffer,
    std::streamsize length
);

writeToDevice protected

int writeToDevice(
    const char * buffer,
    std::streamsize length
);