You are here

public function BufferStream::eof in Auth0 Single Sign On 8.2

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\Psr7

Code

public function eof() {
  return strlen($this->buffer) === 0;
}