Library: Foundation
Package: Streams
Header: Poco/MemoryStream.h
The base class for MemoryInputStream and MemoryOutputStream.
This class is needed to ensure the correct initialization order of the stream buffer and base classes.
Direct Base Classes: std::ios
All Base Classes: std::ios
Known Derived Classes: MemoryInputStream, MemoryOutputStream
Member Functions: rdbuf
MemoryIOS(
char * pBuffer,
std::streamsize bufferSize
);
Creates the basic stream.
~MemoryIOS();
Destroys the stream.
MemoryStreamBuf * rdbuf();
Returns a pointer to the underlying streambuf.
MemoryStreamBuf _buf;