You are here

public function StreamInterface::getSize in Auth0 Single Sign On 8.2

Get the size of the stream if known.

Return value

int|null Returns the size in bytes if known, or null if unknown.

5 methods override StreamInterface::getSize()
AppendStream::getSize in vendor/guzzlehttp/psr7/src/AppendStream.php
Tries to calculate the size by adding the size of each stream.
BufferStream::getSize in vendor/guzzlehttp/psr7/src/BufferStream.php
Get the size of the stream if known.
FnStream::getSize in vendor/guzzlehttp/psr7/src/FnStream.php
Get the size of the stream if known.
PumpStream::getSize in vendor/guzzlehttp/psr7/src/PumpStream.php
Get the size of the stream if known.
Stream::getSize in vendor/guzzlehttp/psr7/src/Stream.php
Get the size of the stream if known.

File

vendor/psr/http-message/src/StreamInterface.php, line 51

Class

StreamInterface
Describes a data stream.

Namespace

Psr\Http\Message

Code

public function getSize();