class Poco::MemoryIOS
Overview
The base class for MemoryInputStream and MemoryOutputStream. Moreā¦
#include <MemoryStream.h> class MemoryIOS: public ios { public: // construction MemoryIOS( char* pBuffer, std::streamsize bufferSize ); // methods MemoryStreamBuf* rdbuf(); protected: // fields MemoryStreamBuf _buf; }; // direct descendants class MemoryInputStream; class MemoryOutputStream;
Detailed Documentation
The base class for MemoryInputStream and MemoryOutputStream.
This class is needed to ensure the correct initialization order of the stream buffer and base classes.
Construction
MemoryIOS( char* pBuffer, std::streamsize bufferSize )
Creates the basic stream.