调用 seekoff,派生类中重写的受保护的虚函数。
pos_type pubseekoff(
off_type _Off,
ios_base::seekdir _Way,
ios_base::openmode _Which = ios_base::in | ios_base::out
);
参数
_Off
查找的位置的相关 _Way。_Way
操作偏移的起点。 为可能值参见 seekdir。_Which
对指针位置指定模式。 默认是使您得以修改读写位置。
返回值
返回新位置或无效的位置,_Off 流 (seekoff( _Way,_Which)。
备注
将指针的 _Way。
要求
页眉: <streambuf>
命名空间: std