You are here

public function vfsStreamFile::getBytesRead in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/mikey179/vfsStream/src/main/php/org/bovigo/vfs/vfsStreamFile.php \org\bovigo\vfs\vfsStreamFile::getBytesRead()

returns the current position within the file

Return value

int

Deprecated

since 1.3.0

File

vendor/mikey179/vfsStream/src/main/php/org/bovigo/vfs/vfsStreamFile.php, line 230

Class

vfsStreamFile
File container.

Namespace

org\bovigo\vfs

Code

public function getBytesRead() {
  return $this->content
    ->bytesRead();
}