pub fn lookup_bytes(&self, slot: usize) -> Result<&[u8], VmError> {
        Ok(self
            .static_bytes
            .get(slot)
            .ok_or(VmErrorKind::MissingStaticString { slot })?
            .as_ref())
    }
/// Lookup the static byte string by slot, if it exists.
Lookup the static byte string by slot, if it exists.
Lookup the static byte string by slot if it exists .
pub fn lookup_bytes(&self, slot: usize) -> Result<&[u8], VmError> {
        Ok(self
            .static_bytes
            .get(slot)
            .ok_or(VmErrorKind::MissingStaticString { slot })?
            .as_ref())
    }
pub fn lookup_bytes ( & self , slot : usize ) -> Result < & [ u8 ] , VmError > { Ok ( self . static_bytes . get ( slot ) . ok_or ( VmErrorKind :: MissingStaticString { slot } ) ? . as_ref ( ) ) }
Lookup the static byte string by slot, if it exists.
Lookup the static byte string by slot if it exists .
&self
slot
usize
&self
slot
usize