POMO_StringReader::read( string $bytes ): string

In this article

Parameters

$bytesstringrequired

Return

string

Source

public 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;
}

User Contributed Notes

You must log in before being able to contribute a note or feedback.