Classes implementing this interface may use a subsystem which requires less memory than working with large strings of data.
Author: Chris Corbyn
示例#1
0
 /**
  * Get the next sequence of bytes to read from the char stream.
  * @param int $size number of bytes to read
  * @return int[]
  * @access protected
  */
 protected function _nextSequence($size = 4)
 {
     return $this->_charStream->readBytes($size);
 }
 /**
  * Updates the charset used.
  * @param string $charset
  */
 public function charsetChanged($charset)
 {
     $this->_charStream->setCharacterSet($charset);
 }