cpclib_asm::implementation::instructions

Trait Cruncher

Source
pub trait Cruncher {
    // Required method
    fn crunch(&self, raw: &[u8]) -> Result<Vec<u8>, AssemblerError>;
}

Required Methods§

Source

fn crunch(&self, raw: &[u8]) -> Result<Vec<u8>, AssemblerError>

Crunch the raw data with the dedicated algorithm. Fail when there is no data to crunch

Implementors§