public function BufferStream::rewind in Lockr 7.3
Seek to the beginning of the stream.
If the stream is not seekable, this method will raise an exception; otherwise, it will perform a seek(0).
@link http://www.php.net/manual/en/function.fseek.php
Throws
\RuntimeException on failure.
Overrides StreamInterface::rewind
See also
seek()
File
- vendor/
guzzlehttp/ psr7/ src/ BufferStream.php, line 74
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 rewind() {
$this
->seek(0);
}