You are here

public function BackupFileReadableInterface::seekBytes in Backup and Migrate 8.4

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 lib/backup_migrate_core/src/File/ReadableStreamBackupFile.php
Move the file pointer forward a given number of bytes.

File

lib/backup_migrate_core/src/File/BackupFileReadableInterface.php, line 60

Class

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

Namespace

BackupMigrate\Core\File

Code

public function seekBytes($bytes);