HEX
Server: Apache
System: Linux webm004.cluster121.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User: grainesdfo (155059)
PHP: 8.2.29
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/grainesdfo/www/wp-content/plugins/backwpup/inc/class-destination-downloader-interface.php
<?php

// -*- coding: utf-8 -*-

/**
 * Interface BackWPup_Destination_Downloader_Service_Interface.
 */
interface BackWPup_Destination_Downloader_Interface
{
    /**
     * Download part of the backup file.
     *
     * @param int $start_byte
     * @param int $end_byte
     *
     * @throws Exception in case something went wrong
     */
    public function download_chunk($start_byte, $end_byte);

    /**
     * Calculated the size of the source file.
     *
     * @return int
     */
    public function calculate_size();
}