basic_streambuf::pubseekoff
Calls seekoff, a protected virtual function that is overridden in a derived class.
pos_type pubseekoff(
off_type _Off,
ios_base::seekdir _Way,
ios_base::openmode _Which = ios_base::in | ios_base::out
);
매개 변수
_Off
The position to seek for relative to _Way._Way
The starting point for offset operations. See seekdir for possible values._Which
Specifies the mode for the pointer position. The default is to allow you to modify the read and write positions.
반환 값
Returns the new position or an invalid stream position ( seekoff(_Off, _Way, _Which) ).
설명
Moves the pointer relative to _Way.
요구 사항
Header: <streambuf>
네임스페이스: std