You are here

public function BackupFileReadableInterface::seekBytes in Backup and Migrate 5.0.x

Move the file pointer forward a given number of bytes.

Parameters

int $bytes:

Return value

int The number of bytes moved or -1 if the operation failed.

1 method overrides BackupFileReadableInterface::seekBytes()
ReadableStreamBackupFile::seekBytes in src/Core/File/ReadableStreamBackupFile.php
Move the file pointer forward a given number of bytes.

File

src/Core/File/BackupFileReadableInterface.php, line 67

Class

BackupFileReadableInterface
A service to provision temp files in the correct place for the environment.

Namespace

Drupal\backup_migrate\Core\File

Code

public function seekBytes($bytes);