You are here

public function StreamDecoratorTrait::seek in Lockr 7.3

2 calls to StreamDecoratorTrait::seek()
StreamDecoratorTrait::rewind in vendor/guzzlehttp/psr7/src/StreamDecoratorTrait.php
StreamDecoratorTrait::__toString in vendor/guzzlehttp/psr7/src/StreamDecoratorTrait.php
3 methods override StreamDecoratorTrait::seek()
CachingStream::seek in vendor/guzzlehttp/psr7/src/CachingStream.php
Seek to a position in the stream.
LimitStream::seek in vendor/guzzlehttp/psr7/src/LimitStream.php
Allow for a bounded seek on the read limited stream
NoSeekStream::seek in vendor/guzzlehttp/psr7/src/NoSeekStream.php
Seek to a position in the stream.

File

vendor/guzzlehttp/psr7/src/StreamDecoratorTrait.php, line 124

Class

StreamDecoratorTrait
Stream decorator trait @property StreamInterface stream

Namespace

GuzzleHttp\Psr7

Code

public function seek($offset, $whence = SEEK_SET) {
  $this->stream
    ->seek($offset, $whence);
}