Habari\HiEngineParser::stream_read PHP Метод

stream_read() публичный Метод

Read data from a HiEngineParser stream
public stream_read ( integer $count ) : string
$count integer Number of characters to read from the current position
Результат string Characters read from the stream
    function stream_read($count)
    {
        if ($this->stream_eof()) {
            return false;
        }
        $ret = substr($this->file, $this->position, $count);
        $this->position += strlen($ret);
        return $ret;
    }