X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Finterfaces%2Fio%2Fpointer%2Fio%2Fclass_InputOutputPointer.php;fp=inc%2Fclasses%2Finterfaces%2Fio%2Fpointer%2Fio%2Fclass_InputOutputPointer.php;h=529dbe6f1ad36a22677511d7fbbdc2b7ba6fecc1;hp=6c2de09c78a1a8e49c6156b3d563e8ceca0036b8;hb=79968ab0f673b50f09f35aed9bdc8112558e1553;hpb=2724091df3f002f07609232a74ad5620934dbb47 diff --git a/inc/classes/interfaces/io/pointer/io/class_InputOutputPointer.php b/inc/classes/interfaces/io/pointer/io/class_InputOutputPointer.php index 6c2de09c..529dbe6f 100644 --- a/inc/classes/interfaces/io/pointer/io/class_InputOutputPointer.php +++ b/inc/classes/interfaces/io/pointer/io/class_InputOutputPointer.php @@ -22,6 +22,21 @@ * along with this program. If not, see . */ interface InputOutputPointer extends InputPointer, OutputPointer { + /** + * Rewinds to the beginning of the file + * + * @return void + */ + function rewind (); + + /** + * Seeks to given position + * + * @param $seekPosition Seek position in file + * @param $whence "Seek mode" (see http://de.php.net/fseek) + * @return void + */ + function seek ($seekPosition, $whence = SEEK_SET); } // [EOF]