diff options
Diffstat (limited to 'vendor/maennchen/zipstream-php/src/Zip64/EndOfCentralDirectoryLocator.php')
-rw-r--r-- | vendor/maennchen/zipstream-php/src/Zip64/EndOfCentralDirectoryLocator.php | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/vendor/maennchen/zipstream-php/src/Zip64/EndOfCentralDirectoryLocator.php b/vendor/maennchen/zipstream-php/src/Zip64/EndOfCentralDirectoryLocator.php deleted file mode 100644 index ef431c347..000000000 --- a/vendor/maennchen/zipstream-php/src/Zip64/EndOfCentralDirectoryLocator.php +++ /dev/null @@ -1,29 +0,0 @@ -<?php - -declare(strict_types=1); - -namespace ZipStream\Zip64; - -use ZipStream\PackField; - -/** - * @internal - */ -abstract class EndOfCentralDirectoryLocator -{ - private const SIGNATURE = 0x07064b50; - - public static function generate( - int $numberOfTheDiskWithZip64CentralDirectoryStart, - int $zip64centralDirectoryStartOffsetOnDisk, - int $totalNumberOfDisks, - ): string { - /** @psalm-suppress MixedArgument */ - return PackField::pack( - new PackField(format: 'V', value: static::SIGNATURE), - new PackField(format: 'V', value: $numberOfTheDiskWithZip64CentralDirectoryStart), - new PackField(format: 'P', value: $zip64centralDirectoryStartOffsetOnDisk), - new PackField(format: 'V', value: $totalNumberOfDisks), - ); - } -} |