aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/WebAssembly/Structure/Modules/Data.php
blob: 3994a01ce35d9e8f4dc9900f3aab0cd9b2581934 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php

declare(strict_types=1);

namespace Nsfisis\Waddiwasi\WebAssembly\Structure\Modules;

final readonly class Data
{
    /**
     * @param list<Byte> $init
     */
    public function __construct(
        public array $init,
        public DataMode $mode,
    ) {
    }
}