You are here

public function VideoRemoteStreamWrapper::stream_tell in Video 8

Same name and namespace in other branches
  1. 8.2 src/StreamWrapper/VideoRemoteStreamWrapper.php \Drupal\video\StreamWrapper\VideoRemoteStreamWrapper::stream_tell()

Support for ftell().

Return value

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

Overrides PhpStreamWrapperInterface::stream_tell

See also

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

File

src/StreamWrapper/VideoRemoteStreamWrapper.php, line 319

Class

VideoRemoteStreamWrapper
Defines a video read only stream wrapper class.

Namespace

Drupal\video\StreamWrapper

Code

public function stream_tell() {
  return ftell($this->handle);
}