fn call(&mut self, _input: &[u8], output: &mut Vec<u8>) -> u32 {
                    let ret: [u8; 32] = [1; 32];
                    scale::Encode::encode_to(&ret, output);
                    0
                }
/// The chain extension is called with the given input.
///
/// Returns an error code and may fill the `output` buffer with a
/// SCALE encoded result. The error code is taken from the
/// `ink_env::chain_extension::FromStatusCode` implementation for
/// `RandomReadErr`.
The chain extension is called with the given input.
Returns an error code and may fill the `output` buffer with a
SCALE encoded result.
The chain extension is called with the given input . Returns an error code and may fill the ` output ` buffer with a SCALE encoded result .
fn call(&mut self, _input: &[u8], output: &mut Vec<u8>) -> u32 {
                    let ret: [u8; 32] = [1; 32];
                    scale::Encode::encode_to(&ret, output);
                    0
                }
fn call ( & mut self , _input : & [ u8 ] , output : & mut Vec < u8 > ) -> u32 { let ret : [ u8 ; 32 ] = [ 1 ; 32 ] ; scale :: Encode :: encode_to ( & ret , output ) ; 0 }
The chain extension is called with the given input.
The chain extension is called with the given input .
&mut self
_input
&[u8]
output
&mut Vec<u8>
&mut self
_input
&[u8]
output
&mut Vec<u8>