Alters the stream position within one of the controlled sequences if possible.
virtual pos_type seekoff( off_type off, ios_base::seekdir way, ios_base::openmode which = ios_base::in | ios_base::out);
The function seekoff() is overridden in strstream classes.
Returns new stream position if successful. Otherwise, it returns pos_type(off_type(-1)).