You are here

public function PumpStream::getSize in Lockr 7.3

Get the size of the stream if known.

Return value

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

Overrides StreamInterface::getSize

File

vendor/guzzlehttp/psr7/src/PumpStream.php, line 71

Class

PumpStream
Provides a read only stream that pumps data from a PHP callable.

Namespace

GuzzleHttp\Psr7

Code

public function getSize() {
  return $this->size;
}