POMO_StringReader::read()
Method of the class: POMO_StringReader{}
No Hooks.
Return
String
.
Usage
$POMO_StringReader = new POMO_StringReader(); $POMO_StringReader->read( $bytes );
- $bytes(string) (required)
- -
POMO_StringReader::read() POMO StringReader::read code WP 6.7.2
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; }