You are here

public function LimitStream::tell in Lockr 7.3

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;
}