You are here

public function BufferStream::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/BufferStream.php, line 89

Class

BufferStream
Provides a buffer stream that can be written to to fill a buffer, and read from to remove bytes from the buffer.

Namespace

GuzzleHttp\Psr7

Code

public function tell() {
  throw new \RuntimeException('Cannot determine the position of a BufferStream');
}