API16

API16:JStreamString/stream read

From Joomla! Documentation

Syntax

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

Defined in

libraries/joomla/filesystem/streams/string.php

Importing

jimport( 'joomla.filesystem.streams.string' );

Source Body

function stream_read($count)
{
        $result = substr($this->_currentstring, $this->_pos, $count);
        $this->_pos += $count;
        return $result;
}



Examples

Code Examples