public function BufferStream::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 BufferStream::seek()
- BufferStream::rewind in vendor/
guzzlehttp/ psr7/ src/ BufferStream.php - Seek to the beginning of the stream.
File
- vendor/
guzzlehttp/ psr7/ src/ BufferStream.php, line 79
Class
- BufferStream
- Provides a buffer stream that can be written to to fill a buffer, and read from to remove bytes from the buffer.
Namespace
GuzzleHttp\Psr7Code
public function seek($offset, $whence = SEEK_SET) {
throw new \RuntimeException('Cannot seek a BufferStream');
}