POMO_StringReader::read()

最后更新于:2021-11-25 22:33:05

POMO_StringReader::read( string$bytes)

参数

$bytes

(string) (Required)

响应

(string)

源文件

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

		function read( $bytes ) {
			$data        = $this->substr( $this->_str, $this->_pos, $bytes );
			$this->_pos += $bytes;
			if ( $this->strlen( $this->_str ) < $this->_pos ) {
				$this->_pos = $this->strlen( $this->_str );
			}
			return $data;
		}