POMO_StringReader::seekto()

最后更新于:2021-11-25 22:37:00

POMO_StringReader::seekto( int$pos)

参数

$pos

(int) (Required)

响应

(int)

源文件

文件: gc-includes/pomo/streams.php

		function seekto( $pos ) {
			$this->_pos = $pos;
			if ( $this->strlen( $this->_str ) < $this->_pos ) {
				$this->_pos = $this->strlen( $this->_str );
			}
			return $this->_pos;
		}