Jackalope\BinaryStreamWrapper::stream_seek PHP Method

stream_seek() public method

Make sure the stream is ready and position the file pointer to the specified position.
public stream_seek ( integer $offset, integer $whence ) : integer
$offset integer the position in the stream in bytes from the beginning
$whence integer whether to seek relative or absolute
return integer
    public function stream_seek($offset, $whence)
    {
        $this->init_stream();
        return fseek($this->stream, $offset, $whence);
    }