Hoa central
Public Member Functions | List of all members
Hoa\Stream\IStream\In Interface Reference
Inheritance diagram for Hoa\Stream\IStream\In:

Public Member Functions

 eof ()
 
 read ($length)
 
 readString ($length)
 
 readCharacter ()
 
 readBoolean ()
 
 readInteger ($length=1)
 
 readFloat ($length=1)
 
 readArray ($argument=null)
 
 readLine ()
 
 readAll ($offset=0)
 
 scanf ($format)
 

Detailed Description

Interface .

Interface for input.

Definition at line 47 of file In.php.

Member Function Documentation

Hoa\Stream\IStream\In::eof ( )
Hoa\Stream\IStream\In::read (   $length)
Hoa\Stream\IStream\In::readAll (   $offset = 0)
Hoa\Stream\IStream\In::readArray (   $argument = null)

Read an array. In most cases, it could be an alias to the $this->scanf() method.

Parameters
mixed$argumentArgument (because the behavior is very different according to the implementation).
Returns
array

Implemented in Hoa\Socket\Connection\Connection, Hoa\Xml\ReadWrite, Hoa\File\Link\ReadWrite, Hoa\File\Temporary\ReadWrite, Hoa\File\ReadWrite, Hoa\File\Link\Read, Hoa\File\Temporary\Read, Hoa\File\Read, Hoa\Xml\Read, Hoa\Xml\Element\ReadWrite, Hoa\Xml\Element\Read, Hoa\Stringbuffer\ReadWrite, and Hoa\Stringbuffer\Read.

Hoa\Stream\IStream\In::readBoolean ( )
Hoa\Stream\IStream\In::readCharacter ( )
Hoa\Stream\IStream\In::readFloat (   $length = 1)
Hoa\Stream\IStream\In::readInteger (   $length = 1)
Hoa\Stream\IStream\In::readLine ( )

Read a line.

Returns
string

Implemented in Hoa\Socket\Connection\Connection, Hoa\Xml\ReadWrite, Hoa\File\Link\ReadWrite, Hoa\File\Temporary\ReadWrite, Hoa\File\ReadWrite, Hoa\File\Link\Read, Hoa\File\Temporary\Read, Hoa\File\Read, Hoa\Xml\Read, Hoa\Xml\Element\ReadWrite, Hoa\Xml\Element\Read, Hoa\Stringbuffer\ReadWrite, and Hoa\Stringbuffer\Read.

Here is the caller graph for this function:

Hoa\Stream\IStream\In::readString (   $length)
Hoa\Stream\IStream\In::scanf (   $format)

The documentation for this interface was generated from the following file: