basic_streambuf* setbuf(char_type* s, streamsize n);
Default behavior:
Does nothing
. pos_type seekoff(off_type off, ios_base::seekdir way,
ios_base::openmode which
= ios_base::in | ios_base::out);
Effects:
Alters the stream positions within one or more of
the controlled sequences in a way that is defined separately for each class
derived from
basic_streambuf
in this Clause (
[stringbuf.virtuals],
[filebuf.virtuals])
. Default behavior:
Returns
pos_type(off_type(-1)). pos_type seekpos(pos_type sp,
ios_base::openmode which
= ios_base::in | ios_base::out);
Effects:
Alters the stream positions within one or more of
the controlled sequences in a way that is defined separately for each class
derived from
basic_streambuf
in this Clause (
[stringbuf],
[filebuf])
. Default behavior:
Returns
pos_type(off_type(-1)). int sync();
Effects:
Synchronizes the controlled sequences with the arrays
. That is, if
pbase()
is non-null the characters between
pbase()
and
pptr()
are written to the controlled sequence
. The pointers may then be reset as appropriate
.Default behavior:
Returns zero
.