public function BufferStream::eof in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/guzzlehttp/psr7/src/BufferStream.php \GuzzleHttp\Psr7\BufferStream::eof()
Returns true if the stream is at the end of the stream.
Return value
bool
Overrides StreamInterface::eof
File
- vendor/
guzzlehttp/ psr7/ src/ BufferStream.php, line 84
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 eof() {
return strlen($this->buffer) === 0;
}