Also getSeekPosition() belongs here ... + TODOs.txt updated (--amend rocks!)
[core.git] / inc / classes / main / file_directories / binary / class_BaseBinaryFile.php
index 77b18e8eed421c7e575ce73dc1581bb76df5869e..a5b6cc974f4d9c28fcba6da1d8a0fa0009a5e804 100644 (file)
@@ -225,7 +225,7 @@ class BaseBinaryFile extends BaseFile {
         *
         * @return      $seekPosition   Current seek position (stored here in object)
         */
-       protected final function getSeekPosition () {
+       public final function getSeekPosition () {
                // Get it
                return $this->seekPosition;
        }
@@ -390,7 +390,7 @@ class BaseBinaryFile extends BaseFile {
         * @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