strstream::pcount

int pcount() const;

Return Value

Returns the number of bytes stored in the buffer. This information is especially useful when you have stored binary data in the object.

strstream OverviewInput/Output Stream Classes