/// Return the address and size of a data object.
Return the address and size of a data object.
Return the address and size of a data object .
pub fn lookup_data(&self, data_id: DataId) -> (*const u8, usize) {
        let data = self.data_objects[data_id]
            .as_ref()
            .unwrap_or_else(|| panic!("{} is not defined", data_id));
        (data.ptr, data.size)
    }
pub fn lookup_data ( & self , data_id : DataId ) -> ( * const u8 , usize ) { let data = self . data_objects [ data_id ] . as_ref ( ) . unwrap_or_else ( | | panic ! ( " " data_id ) ) ; ( data . ptr , data . size ) }
Return the address and size of a data object.
Return the address and size of a data object .
&self
data_id
DataId