streambuf::setb

Protected

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

END Protected

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, the reserve area will be deleted when: (1) the base pointer is changed by another setb call, or (2) the streambuf destructor is called.

Remarks

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

streambuf OverviewStream Buffer Classes

See Also   streambuf::base, streambuf::ebuf