* Advances to next "block" of bytes
*
* @return void
+ * @todo This method will load large but empty files in a whole
*/
public function next () {
// Is there nothing to read?
// Call pointer instance
return $this->getPointerInstance()->read($bytes);
}
+
+ /**
+ * Analyzes entries in index file. This will count all found (and valid)
+ * entries, mark invalid as damaged and count gaps ("fragmentation"). If
+ * only gaps are found, the file is considered as "virgin" (no entries).
+ *
+ * @return void
+ */
+ public function analyzeFile () {
+ // Just call the pointer instance
+ $this->getPointerInstance()->analyzeFile();
+ }
}
// [EOF]