pub fn bytes(&self, index: usize) -> Vec<u8> {
        let offset = self.u64(index) as usize;
        let mut buf = &self.contract_call_result[offset + 24..offset + 32];
        let length = buf.get_u64() as usize;
        self.contract_call_result[offset + 32..offset + 32 + length].to_vec()
    }
// gets a byte array from the result at the given index
gets a byte array from the result at the given index
gets a byte array from the result at the given index
pub fn bytes(&self, index: usize) -> Vec<u8> {
        let offset = self.u64(index) as usize;
        let mut buf = &self.contract_call_result[offset + 24..offset + 32];
        let length = buf.get_u64() as usize;
        self.contract_call_result[offset + 32..offset + 32 + length].to_vec()
    }
pub fn bytes ( & self , index : usize ) -> Vec < u8 > { let offset = self . u64 ( index ) as usize ; let mut buf = & self . contract_call_result [ offset + 24 .. offset + 32 ] ; let length = buf . get_u64 ( ) as usize ; self . contract_call_result [ offset + 32 .. offset + 32 + length ] . to_vec ( ) }
gets a byte array from the result at the given index
gets a byte array from the result at the given index
&self
index
usize
&self
index
usize