Esempio n. 1
0
 public function seek($offset, $whence = SEEK_SET)
 {
     if ($offset === 0) {
         $this->hash->reset();
         return $this->stream->seek($offset);
     } else {
         // Seeking arbitrarily is not supported.
         return false;
     }
 }