aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/BitOps/PackIntSpecifiers.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/BitOps/PackIntSpecifiers.php')
-rw-r--r--src/BitOps/PackIntSpecifiers.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/BitOps/PackIntSpecifiers.php b/src/BitOps/PackIntSpecifiers.php
new file mode 100644
index 0000000..da10ab2
--- /dev/null
+++ b/src/BitOps/PackIntSpecifiers.php
@@ -0,0 +1,14 @@
+<?php
+
+declare(strict_types=1);
+
+namespace Nsfisis\Waddiwasi\BitOps;
+
+enum PackIntSpecifiers: string
+{
+ case Int8 = 'c';
+ case Int16LittleEndian = 'v';
+ case Int32LittleEndian = 'V';
+ case Int64BigEndian = 'J';
+ case Int64LittleEndian = 'P';
+}