Library: Zip
Package: Zip
Header: Poco/Zip/AutoDetectStream.h
A AutoDetectStreamBuf is a class that limits one view on an inputstream to a selected view range
Direct Base Classes: Poco::BufferedStreamBuf
All Base Classes: Poco::BufferedStreamBuf
Member Functions: readFromDevice, writeToDevice
AutoDetectStreamBuf(
std::ostream & out
);
Creates the AutoDetectStream. 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
AutoDetectStreamBuf(
std::istream & in,
const std::string & prefix,
const std::string & postfix,
bool reposition,
Poco::UInt32 start
);
Creates the AutoDetectStream.
Destroys the AutoDetectStream.
int readFromDevice(
char * buffer,
std::streamsize length
);
int writeToDevice(
const char * buffer,
std::streamsize length
);