Method | Description | |
---|---|---|
__construct ( Reader $reader, integer $buffsize = 65536 ) | ||
close ( ) | ||
eof ( ) : boolean | Returns whether eof has been reached in stream. | |
getResource ( ) | ||
open ( ) | ||
read ( integer $len = null ) : mixed | Reads and returns a chunk of data. | |
readChar ( ) : string | Reads a single char from the reader. | |
readLine ( ) | Read a line from input stream. | |
reset ( ) | ||
skip ( $n ) |
public __construct ( Reader $reader, integer $buffsize = 65536 ) | ||
$reader | Reader | The reader (e.g. FileReader). |
$buffsize | integer | The size of the buffer we should use for reading files. A large buffer ensures that most files (all scripts?) are parsed in 1 buffer. |