POMO_FileReader::seekto()publicWP 1.0

Method of the class: POMO_FileReader{}

No Hooks.

Return

true|false.

Usage

$POMO_FileReader = new POMO_FileReader();
$POMO_FileReader->seekto( $pos );
$pos(int) (required)
-

POMO_FileReader::seekto() code WP 6.1.1

public function seekto( $pos ) {
	if ( -1 == fseek( $this->_f, $pos, SEEK_SET ) ) {
		return false;
	}
	$this->_pos = $pos;
	return true;
}