Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer


Returns the address of the stored stream buffer.

basic_filebuf<Elem, Tr> *rdbuf( ) const

A pointer to a basic_filebuf object representing the stored stream buffer.

See basic_filebuf::close for an example that uses rdbuf.

Header: <fstream>

© 2015 Microsoft