API16

JStreamString/stream read

< API16:JStreamString

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.

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


Advertisement