Neos\Flow\ResourceManagement\Streams\ResourceStreamWrapper::seek PHP Method

seek() public method

This method is called in response to fseek(). The read/write position of the stream should be updated according to the offset and whence . $whence can one of: SEEK_SET - Set position equal to offset bytes. SEEK_CUR - Set position to current location plus offset. SEEK_END - Set position to end-of-file plus offset.
public seek ( integer $offset, integer $whence = SEEK_SET ) : boolean
$offset integer The stream offset to seek to.
$whence integer
return boolean TRUE on success or FALSE on failure.
    public function seek($offset, $whence = SEEK_SET)
    {
        return fseek($this->handle, $offset, $whence) === 0;
    }