You are here

public function PumpStream::tell in Lockr 7.3

Returns the current position of the file read/write pointer

Return value

int Position of the file pointer

Throws

\RuntimeException on error.

Overrides StreamInterface::tell

File

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

Class

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

Namespace

GuzzleHttp\Psr7

Code

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