public function RelativeStream::getSize in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/zendframework/zend-diactoros/src/RelativeStream.php \Zend\Diactoros\RelativeStream::getSize()
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/
zendframework/ zend-diactoros/ src/ RelativeStream.php, line 73
Class
- RelativeStream
- Class RelativeStream
Namespace
Zend\DiactorosCode
public function getSize() {
return $this->decoratedStream
->getSize() - $this->offset;
}