API16

JBuffer/stream read

< API16:JBuffer

The "API16" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

<! 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


Advertisement