public function StreamInterface::seek

Seek to a position in the stream

@link http://www.php.net/manual/en/function.fseek.php

Parameters

int $offset Stream offset:

int $whence Where the offset is applied:

Return value

bool Returns TRUE on success or FALSE on failure

2 methods override StreamInterface::seek()
AbstractEntityBodyDecorator::seek in drupal/core/vendor/guzzle/http/Guzzle/Http/AbstractEntityBodyDecorator.php
@codeCoverageIgnore
Stream::seek in drupal/core/vendor/guzzle/stream/Guzzle/Stream/Stream.php
Seek to a position in the stream

File

drupal/core/vendor/guzzle/stream/Guzzle/Stream/StreamInterface.php, line 131

Class

StreamInterface
OO interface to PHP streams

Namespace

Guzzle\Stream

Code

public function seek($offset, $whence = SEEK_SET);