]> git.mxchange.org Git - core.git/blobdiff - inc/classes/interfaces/io/pointer/io/class_InputOutputPointer.php
Added more methods (required).
[core.git] / inc / classes / interfaces / io / pointer / io / class_InputOutputPointer.php
index 93846ff7311813ecb80372d66a6b8c663b0c4256..0cb98dd847801d3cb036a5701bb0d4192b2fe342 100644 (file)
@@ -28,6 +28,29 @@ interface InputOutputPointer extends InputPointer, OutputPointer {
         * @return      $status         Status of this operation
         */
        function rewind ();
+
+       /**
+        * Advances to next "block" of bytes
+        *
+        * @return      void
+        * @todo        This method will load large but empty files in a whole
+        */
+       function next ();
+
+       /**
+        * Checks wether the current entry is valid (not at the end of the file).
+        * This method will return TRUE if an emptied (nulled) entry has been found.
+        *
+        * @return      $isValid        Whether the next entry is valid
+        */
+       function valid ();
+
+       /**
+        * Gets current seek position ("key").
+        *
+        * @return      $key    Current key in iteration
+        */
+       function key ();
 }
 
 // [EOF]