You are here

public function S3fsStreamWrapper::stream_tell in S3 File System 7.2

Same name and namespace in other branches
  1. 7 S3fsStreamWrapper.inc \S3fsStreamWrapper::stream_tell()

Support for ftell().

Return value

int The current offset in bytes from the beginning of file.

Overrides StreamWrapperInterface::stream_tell

See also

http://php.net/manual/en/streamwrapper.stream-tell.php

File

./S3fsStreamWrapper.inc, line 815
Drupal stream wrapper implementation for S3 File System.

Class

S3fsStreamWrapper
The stream wrapper class.

Code

public function stream_tell() {
  $this
    ->_debug("stream_tell() called.");
  return $this->body
    ->ftell();
}