To return an offset of the current pointer in an input or output stream.
virtual pos_type seekoff
(off_type off,
ios_base::seekdir way,
ios_base::openmode which =
ios_base::in | ios_base::out);
The function seekoff overrides the basic_streambuf virtual function.
A pos_type value is returned, which is an invalid stream position.
basic_streambuf::seekoff()