return $this->getBlockInstance()->seek($seekPosition);
}
- /**
- * Writes at given position by seeking to it.
- *
- * @param $seekPosition Seek position in file
- * @param $data Data to be written
- * @return void
- */
- public function writeAtPosition ($seekPosition, $data) {
- // First seek to it
- $this->seek($seekPosition);
-
- // Then write the data at that position
- $this->getBlockInstance()->writeToFile($data);
- }
-
/**
* Size of file stack
*