public function stream_seek($offset, $whence) {
    $ret = fseek($this->objStream, $offset, $whence);

    // fseek returns 0 for success, -1 for failure.
    // We need to return TRUE for success, FALSE for failure.
    return $ret === 0;
  }
public function stream_seek($offset, $whence) {
    $ret = fseek($this->objStream, $offset, $whence);

    // fseek returns 0 for success, -1 for failure.
    // We need to return TRUE for success, FALSE for failure.
    return $ret === 0;
  }
public function stream_seek ( $ offset , $ whence ) { $ ret = fseek ( $ this -> objStream , $ offset , $ whence ) ; // fseek returns 0 for success, -1 for failure. // We need to return TRUE for success, FALSE for failure. return $ ret === 0 ; }
Perform a seek.

This is called whenever \c fseek() or \c rewind() is called on a
Swift stream.

@attention
IMPORTANT: Unlike the PHP core, this library
allows you to fseek() inside of a file opened
in append mode ('a' or 'a+').
Perform a seek .