From: Roland Häder Date: Tue, 24 Jun 2014 06:43:05 +0000 (+0200) Subject: Added missing method. X-Git-Url: https://git.mxchange.org/?p=core.git;a=commitdiff_plain;h=76faf93f32b03980f22625b71503a613f398c391;ds=sidebyside Added missing method. Signed-off-by: Roland Häder --- diff --git a/inc/classes/main/file_directories/output/class_FrameworkFileOutputPointer.php b/inc/classes/main/file_directories/output/class_FrameworkFileOutputPointer.php index 35ff72e1..aa8f1a14 100644 --- a/inc/classes/main/file_directories/output/class_FrameworkFileOutputPointer.php +++ b/inc/classes/main/file_directories/output/class_FrameworkFileOutputPointer.php @@ -102,6 +102,18 @@ class FrameworkFileOutputPointer extends BaseFileIo implements OutputPointer { throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION); } + /** + * Writes at given position by seeking to it. + * + * @param $seekPosition Seek position in file + * @param $data Data to be written + * @return mixed Number of writes bytes or FALSE on error + * @throws UnsupportedOperationException If this method is called + */ + public function writeAtPosition ($seedPosition, $data) { + throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION); + } + /** * Advances to next "block" of bytes *