ios::rdbuf

Syntax

streambuf* rdbuf() const;

Remarks

Returns a pointer to the streambuf object that is associated with this stream. The rdbuf function is useful when you need to call streambuf member functions.