public function PumpStream::seek in Auth0 Single Sign On 8.2
Seek to a position in the stream.
@link http://www.php.net/manual/en/function.fseek.php
Parameters
int $offset Stream offset:
int $whence Specifies how the cursor position will be calculated: based on the seek offset. Valid values are identical to the built-in PHP $whence values for `fseek()`. SEEK_SET: Set position equal to offset bytes SEEK_CUR: Set position to current location plus offset SEEK_END: Set position to end-of-stream plus offset.
Throws
\RuntimeException on failure.
Overrides StreamInterface::seek
1 call to PumpStream::seek()
- PumpStream::rewind in vendor/
guzzlehttp/ psr7/ src/ PumpStream.php - Seek to the beginning of the stream.
File
- vendor/
guzzlehttp/ psr7/ src/ PumpStream.php, line 96
Class
- PumpStream
- Provides a read only stream that pumps data from a PHP callable.
Namespace
GuzzleHttp\Psr7Code
public function seek($offset, $whence = SEEK_SET) {
throw new \RuntimeException('Cannot seek a PumpStream');
}