feat: prepare decoding traits and make new Flat trait

This commit is contained in:
rvcas
2022-05-28 20:12:03 -04:00
parent 41487733f7
commit 0a476d0592
6 changed files with 94 additions and 26 deletions

View File

@@ -11,7 +11,7 @@ fn main() -> anyhow::Result<()> {
println!("{:#?}", program);
let flat_bytes = program.flat()?;
let flat_bytes = program.to_flat()?;
for byte in flat_bytes {
print!("{:08b} ", byte);