Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. SeekableFileContent.php

function SeekableFileContent::doRead

actual reading of given byte count starting at given offset

Parameters

int $offset:

int $count:

1 call to SeekableFileContent::doRead()
SeekableFileContent::read in vendor/mikey179/vfsstream/src/main/php/org/bovigo/vfs/content/SeekableFileContent.php
reads the given amount of bytes from content
2 methods override SeekableFileContent::doRead()
LargeFileContent::doRead in vendor/mikey179/vfsstream/src/main/php/org/bovigo/vfs/content/LargeFileContent.php
actual reading of given byte count starting at given offset
StringBasedFileContent::doRead in vendor/mikey179/vfsstream/src/main/php/org/bovigo/vfs/content/StringBasedFileContent.php
actual reading of length starting at given offset

File

vendor/mikey179/vfsstream/src/main/php/org/bovigo/vfs/content/SeekableFileContent.php, line 44

Class

SeekableFileContent
Default implementation for file contents based on simple strings.

Namespace

org\bovigo\vfs\content

Code

protected abstract function doRead($offset, $count);

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal