You are here

public function LimitStream::tell in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/guzzlehttp/psr7/src/LimitStream.php \GuzzleHttp\Psr7\LimitStream::tell()

Give a relative tell()

Overrides StreamDecoratorTrait::tell

File

vendor/guzzlehttp/psr7/src/LimitStream.php, line 96

Class

LimitStream
Decorator used to return only a subset of a stream

Namespace

GuzzleHttp\Psr7

Code

public function tell() {
  return $this->stream
    ->tell() - $this->offset;
}