X

Create New Item

File Folder

X

Search Results

File "ExtendedInformationExtraField.php"

Full path: /home/andyrdhboardrevi/public_html/learn.andyrdhboardreview.com/vendor/maennchen/zipstream-php/src/Zs/ExtendedInformationExtraField.php
File size: 401 B
MIME-type: text/x-php
Charset: utf-8

Download   Open   Edit   Advanced Edit   Back

<?php

declare(strict_types=1);

namespace ZipStream\Zs;

use ZipStream\PackField;

/**
 * @internal
 */
abstract class ExtendedInformationExtraField
{
    private const TAG = 0x5653;

    public static function generate(): string
    {
        return PackField::pack(
            new PackField(format: 'v', value: self::TAG),
            new PackField(format: 'v', value: 0x0000),
        );
    }
}