class BasicBufferedStreamBuf

Library: FoundationPackage: StreamsHeader: Poco/BufferedStreamBuf.h

Description

This is an implementation of a buffered streambuf that greatly simplifies the implementation of custom streambufs of various kinds. Derived classes only have to override the methods readFromDevice() or writeToDevice().

This streambuf only supports unidirectional streams. In other words, the BasicBufferedStreamBuf can be used for the implementation of an istream or an ostream, but not for an iostream.