summaryrefslogtreecommitdiffstats
path: root/src/util/byte_mask.ref0
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/byte_mask.ref0')
-rw-r--r--src/util/byte_mask.ref014
1 files changed, 14 insertions, 0 deletions
diff --git a/src/util/byte_mask.ref0 b/src/util/byte_mask.ref0
new file mode 100644
index 0000000..a6ab11b
--- /dev/null
+++ b/src/util/byte_mask.ref0
@@ -0,0 +1,14 @@
+0123 -> 0xf -> 0123
+0x1e -> 123
+0 -> 0x1 -> 0
+0x2 -> 1
+1 -> 0x2 -> 1
+0x4 -> 2
+2 -> 0x4 -> 2
+0x8 -> 3
+3 -> 0x8 -> 3
+0x10 ->
+1234 -> 0xe -> 123
+0x1c -> 23
+abcd -> 0x0 ->
+0x0 ->