* @return $fileSize Size of currently loaded file
*/
function getFileSize ();
+
+ /**
+ * Writes data at given position
+ *
+ * @param $seekPosition Seek position
+ * @param $data Data to be written
+ * @param $flushHeader Whether to flush the header (default: flush)
+ * @return void
+ */
+ function writeData ($seekPosition, $data, $flushHeader = TRUE);
}
// [EOF]
* @param $flushHeader Whether to flush the header (default: flush)
* @return void
*/
- protected function writeData ($seekPosition, $data, $flushHeader = TRUE) {
+ public function writeData ($seekPosition, $data, $flushHeader = TRUE) {
//* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput(sprintf('[%s:%d:] seekPosition=%s,data()=%s - CALLED!', __METHOD__, __LINE__, $seekPosition, strlen($data)));
// Write data at given position
// Call block instance
return $this->getBlockInstance()->getFileSize();
}
+
+ /**
+ * Writes data at given position
+ *
+ * @param $seekPosition Seek position
+ * @param $data Data to be written
+ * @param $flushHeader Whether to flush the header (default: flush)
+ * @return void
+ */
+ public function writeData ($seekPosition, $data, $flushHeader = TRUE) {
+ // Call block instance
+ $this->getBlockInstance()->writeData($seekPosition, $data, $flushHeader);
+ }
}
// [EOF]