]> Witch of Git - jade-rose/blob - toolchain/src/inst/decode.rs
Add a very basic assembler utility
[jade-rose] / toolchain / src / inst / decode.rs
1 use std::io::{self, Read};
2
3 pub trait Decode: Sized {
4 fn decode(reader: &mut impl Read) -> io::Result<Option<Self>>;
5 }