예제 #1
0
 /**
  * Reads the line with specified number of bytes from the current position.
  *
  * @param int $length The number of bytes to read
  * @param string $ending [optional]
  * @return string
  */
 public function readLine($length, $ending = null)
 {
     return $this->driver->fileReadLine($this->resource, $length, $ending);
 }