This istream generates random data using the RandomBuf.
#include <RandomStream.h> class RandomInputStream: public Poco::RandomIOS, public istream { };
public: // methods RandomBuf* rdbuf(); protected: // fields RandomBuf _buf;