streambuf::setb

Syntax

Protected:
void setb( char*
pb, char* peb, int nDelete = 0 );

Parameters

pb

The new value for the base pointer.

peb

The new value for the ebuf pointer.

nDelete

Flag that controls automatic deletion. If nDelete is not 0, then the reserve area will be deleted (1) when the base pointer is changed by another setb call or (2) when the streambuf destructor is called.

Remarks

Sets the values of the reserve area pointers. If both pb and peb are NULL, then there is no reserve area. If pb is not NULL and peb is NULL, then the reserve area has a length of 0.

See Also

streambuf::base, streambuf::ebuf