basic_streambuf::setp

To set the values for the beginning, next and end pointers.

void setp (char_type* pbeg, char_type* pend);

Remarks

After the call to setp(), pbeg equals pbase(), pbeg equals pptr() and pend equals epptr().