A protected function that stores _Pbeg in the beginning pointer and _Pend in the end pointer for the output buffer.
void setp(
   char_type *_Pbeg,
   char_type *_Pend
);
Parameters
- _Pbeg 
 A pointer to the beginning of the buffer.
- _Pend 
 A pointer to the end of the buffer.
Requirements
Header: <streambuf>
Namespace: std