fn deserialize(&self, module_bytes: &[u8]) -> Result<Module, PreprocessingError> {
        let from_parity_err = |err: ParityWasmError| DeserializeError(err.description().to_owned());
        let module =
            parity_wasm::deserialize_buffer::<Module>(&module_bytes).map_err(from_parity_err)?;
        Ok(module)
    }
// returns a parity Module from bytes without making modifications or limits
returns a parity Module from bytes without making modifications or limits
returns a parity Module from bytes without making modifications or limits
fn deserialize(&self, module_bytes: &[u8]) -> Result<Module, PreprocessingError> {
        let from_parity_err = |err: ParityWasmError| DeserializeError(err.description().to_owned());
        let module =
            parity_wasm::deserialize_buffer::<Module>(&module_bytes).map_err(from_parity_err)?;
        Ok(module)
    }
fn deserialize ( & self , module_bytes : & [ u8 ] ) -> Result < Module , PreprocessingError > { let from_parity_err = | err : ParityWasmError | DeserializeError ( err . description ( ) . to_owned ( ) ) ; let module = parity_wasm :: deserialize_buffer :: < Module > ( & module_bytes ) . map_err ( from_parity_err ) ? ; Ok ( module ) }
returns a parity Module from bytes without making modifications or limits
returns a parity Module from bytes without making modifications or limits
&self
module_bytes
&[u8]
&self
module_bytes
&[u8]