// Just call the block instance
$this->getBlockInstance()->preAllocateFile($type);
}
+
+ /**
+ * Initializes counter for valid entries, arrays for damaged entries and
+ * an array for gap seek positions. If you call this method on your own,
+ * please re-analyze the file structure. So you are better to call
+ * analyzeFile() instead of this method.
+ *
+ * @return void
+ */
+ public function initCountersGapsArray () {
+ // Call block instance
+ $this->getBlockInstance()->initCountersGapsArray();
+ }
+
+ /**
+ * Getter for header size
+ *
+ * @return $totalEntries Size of file header
+ */
+ public final function getHeaderSize () {
+ // Call block instance
+ return $this->getBlockInstance()->getHeaderSize();
+ }
+
+ /**
+ * Setter for header size
+ *
+ * @param $headerSize Size of file header
+ * @return void
+ */
+ public final function setHeaderSize ($headerSize) {
+ // Call block instance
+ $this->getBlockInstance()->setHeaderSize($headerSize);
+ }
}
// [EOF]