aboutsummaryrefslogtreecommitdiff
path: root/src/binary.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/binary.rs')
-rw-r--r--src/binary.rs15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/binary.rs b/src/binary.rs
new file mode 100644
index 0000000..2564637
--- /dev/null
+++ b/src/binary.rs
@@ -0,0 +1,15 @@
+pub struct Binary<'a> {
+ words: &'a [u32],
+}
+
+impl<'a> Binary<'a> {
+ pub fn new(words: &'a [u32]) -> Binary<'a> {
+ Binary {
+ words: words,
+ }
+ }
+
+ // pub fn new_from_hex_file() -> Binary<'a> {
+
+ // }
+}