summaryrefslogtreecommitdiff
path: root/Make.cs
diff options
context:
space:
mode:
authorMelodi <62381002+Melodi17@users.noreply.github.com>2025-08-05 21:24:16 +1000
committerMelodi <62381002+Melodi17@users.noreply.github.com>2025-08-05 21:24:16 +1000
commit16f3cb74564cf7c19da6e13666c98aca36094716 (patch)
tree7346a7c12a82bc372ed82dad8e9a5d9ad6b098b7 /Make.cs
parent72f297a479b6749674ec80e91be53b8c482123d2 (diff)
updates
Diffstat (limited to 'Make.cs')
-rw-r--r--Make.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/Make.cs b/Make.cs
index 293312e..24f3ac2 100644
--- a/Make.cs
+++ b/Make.cs
@@ -50,4 +50,9 @@ public static class Make
{
return BinaryPrimitives.ReadInt16BigEndian(value);
}
+
+ public static i16 i16(u8 high, u8 low)
+ {
+ return BinaryPrimitives.ReadInt16BigEndian(new ReadOnlySpan<u8>([high, low]));
+ }
} \ No newline at end of file