diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-01-03 01:35:32 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-01-27 12:05:23 +0900 |
| commit | e2495878b872b341e6e04eed31dd255b1a6e256f (patch) | |
| tree | 4057ab19765ea7fc13505798c6434dceac02f4b1 /src/BinaryFormat/SectionId.php | |
| parent | 5b4652d080c7eae26f8aac482468a6777ad9defe (diff) | |
| download | php-waddiwasi-e2495878b872b341e6e04eed31dd255b1a6e256f.tar.gz php-waddiwasi-e2495878b872b341e6e04eed31dd255b1a6e256f.tar.zst php-waddiwasi-e2495878b872b341e6e04eed31dd255b1a6e256f.zip | |
feat: implement binary decoder
Diffstat (limited to 'src/BinaryFormat/SectionId.php')
| -rw-r--r-- | src/BinaryFormat/SectionId.php | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/BinaryFormat/SectionId.php b/src/BinaryFormat/SectionId.php new file mode 100644 index 0000000..f11063f --- /dev/null +++ b/src/BinaryFormat/SectionId.php @@ -0,0 +1,22 @@ +<?php + +declare(strict_types=1); + +namespace Nsfisis\Waddiwasi\BinaryFormat; + +enum SectionId: int +{ + case Custom = 0; + case Type = 1; + case Import = 2; + case Func = 3; + case Table = 4; + case Mem = 5; + case Global = 6; + case Export = 7; + case Start = 8; + case Elem = 9; + case Code = 10; + case Data = 11; + case DataCount = 12; +} |
