Trait yaxpeax_arch::Decoder[][src]

pub trait Decoder<Inst> where
    Inst: Sized + Default
{ type Error: DecodeError + Debug + Display; fn decode_into<T: IntoIterator<Item = u8>>(
        &self,
        inst: &mut Inst,
        bytes: T
    ) -> Result<(), Self::Error>; fn decode<T: IntoIterator<Item = u8>>(
        &self,
        bytes: T
    ) -> Result<Inst, Self::Error> { ... } }

Associated Types

Loading content...

Required methods

fn decode_into<T: IntoIterator<Item = u8>>(
    &self,
    inst: &mut Inst,
    bytes: T
) -> Result<(), Self::Error>
[src]

Loading content...

Provided methods

fn decode<T: IntoIterator<Item = u8>>(
    &self,
    bytes: T
) -> Result<Inst, Self::Error>
[src]

Loading content...

Implementors

Loading content...