This stream copies all characters written to it to one or multiple output streams.
Direct Base Classes: PartialIOS, std::ostream
All Base Classes: PartialIOS, std::ios, std::ostream
Inherited Functions: rdbuf
std::ostream & ostr,
bool initStream = true
Creates the PartialOutputStream and connects it to the given output stream. Bytes written are guaranteed to be in the range [start, realEnd - end]. If initStream is true the status of the stream will be cleared on the first access. start and end acts as offset values for the written content. A start value greater than zero, means that the first bytes are not written but discarded instead, an end value not equal to zero means that the last end bytes are not written! Examples:
start = 3; end = 1 write("hello", 5) -> "l" start = 3; end = 0 write("hello", 5) -> "lo"
Destroys the PartialOutputStream.
Poco::UInt64 bytesWritten() const;
Returns the number of bytes actually forwarded to the inner ostream
must be called for the stream to properly terminate it