Hoa central
Pointable.php
Go to the documentation of this file.
1 <?php
2 
37 namespace Hoa\Stream\IStream;
38 
47 interface Pointable
48 {
54  const SEEK_SET = SEEK_SET;
55 
61  const SEEK_CURRENT = SEEK_CUR;
62 
68  const SEEK_END = SEEK_END;
69 
70 
71 
77  public function rewind();
78 
86  public function seek($offset, $whence = self::SEEK_SET);
87 
93  public function tell();
94 }
seek($offset, $whence=self::SEEK_SET)