* @package com.woltlab.wcf
* @subpackage system.io
* @category Community Framework
+ *
+ * @method boolean close($handle)
+ * @method boolean eof($handle)
+ * @method string gets($handle, $length = null)
+ * @method resource open($filename, $mode, $use_include_path = false, $context = null)
+ * @method integer seek($handle, $offset, $whence = SEEK_SET)
+ * @method string read($zp, $length)
+ * @method integer tell($handle)
+ * @method boolean touch($filename, $time = 0, $atime = 0) note: default value of `$time` actually is `time()`
+ * @method integer write($handle, $string, $length = null)
*/
class File {
/**
* @package com.woltlab.wcf
* @subpackage system.io
* @category Community Framework
+ *
+ * @method resource open($filename, $mode, $use_include_path = 0)
+ * @method boolean rewind($zp)
*/
class GZipFile extends File {
/**
}
if ($this->seek($eof) == -1) $eof--;
-
+
$this->rewind();
return $eof - $correction;
}