The Reader class encapsulates a file. It is hence responsible of upkeeping the connection to the file, keeping track of the cursor position and reading data from it.
Located in /Reader.php (line 55)
Constructs the Reader class with given file.
Closes the file.
Checks whether there is more to be read in the file. Returns true if the end of the file has not yet been reached; false otherwise.
Returns the current point of operation.
Returns the file size in bytes.
Reads length amount of bytes from the file stream.
Sets the point of operation, ie the cursor offset value. The offset can also be set to a negative value when it is interpreted as an offset from the end of the file instead of the beginning.
Jumps size amount of bytes in the file stream.
Magic function to delegate the call to helper methods of Transform class to transform read data in another format.
The read data length is determined from the helper method name. For methods where arbitrary data lengths are accepted a parameter can be used to specify the length.
Magic function so that $obj->value will work.
Magic function so that assignments with $obj->value will work.
Documentation generated on Fri, 05 Sep 2008 20:19:17 +0300 by phpDocumentor 1.4.1