API15

API15:JBuffer/stream read

From Joomla! Documentation

<! removed transcluded page call, red link never existed >

Syntax

stream_read($count)
Parameter Name Default Value Description
$count

Defined in

libraries/joomla/utilities/buffer.php

Importing

jimport( 'joomla.utilities.buffer' );

Source Body

function stream_read($count)
{
        $ret = substr($this->_buffers[$this->name], $this->position, $count);
        $this->position += strlen($ret);
        return $ret;
}


<! removed transcluded page call, red link never existed >

Examples

Code Examples