class strstream : public iostream {
public:
strstream();
strstream(char *s, streamsize n,
ios_base::openmode mode = ios_base::in | ios_base::out);
strstreambuf *rdbuf() const;
void freeze(bool frz = true);
char *str();
streamsize pcount() const;
};
The class describes an object that controls insertion and extraction of elements and encoded objects using a stream
buffer of class strstreambuf
. The object stores an object of class strstreambuf
.