basic_fstream::rdbuf
Returns the address of the stored stream buffer, of type pointer to basic_filebuf<Elem, Tr>.
basic_filebuf<Elem, Tr> *rdbuf( ) const
Return Value
The address of the stored stream buffer.
Example
See basic_filebuf::close for an example of how to use rdbuf.
Requirements
Header: <fstream>
Namespace: std