Gc\View\Stream::streamRead PHP Method

streamRead() public method

Reads from the stream.
public streamRead ( integer $count ) : string
$count integer Count
return string
    public function streamRead($count)
    {
        $ret = substr(self::$data[$this->path], self::$position[$this->path], $count);
        self::$position[$this->path] += strlen($ret);
        return $ret;
    }