Poco::Zip

class AutoDetectInputStream

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

Description

This stream copies all characters read through it to one or multiple output streams.

Inheritance

Direct Base Classes: AutoDetectIOS, std::istream

All Base Classes: AutoDetectIOS, std::ios, std::istream

Member Summary

Inherited Functions: rdbuf

Constructors

AutoDetectInputStream

AutoDetectInputStream(
    std::istream & istr,
    const std::string & prefix = std::string (),
    const std::string & postfix = std::string (),
    bool reposition = false,
    Poco::UInt32 start = 0
);

Creates the AutoDetectInputStream and connects it to the given input stream. Bytes read are guaranteed to be in the range [start, end-1] If initStream is true the status of the stream will be cleared on the first access, and the stream will be repositioned to position start

Destructor

~AutoDetectInputStream

~AutoDetectInputStream();

Destroys the AutoDetectInputStream.