POMO_StringReader::seekto( int $pos ): int
Contents
Parameters
-
$pos
int Required -
Return
int
Source
File: wp-includes/pomo/streams.php
.
View all references
public function seekto( $pos ) {
$this->_pos = $pos;
if ( $this->strlen( $this->_str ) < $this->_pos ) {
$this->_pos = $this->strlen( $this->_str );
}
return $this->_pos;
}