fetch_external_plugin_adapter_data_info

Function fetch_external_plugin_adapter_data_info 

Source
pub fn fetch_external_plugin_adapter_data_info<T: DataBlob + SolanaAccount>(
    account: &AccountInfo<'_>,
    core: Option<&T>,
    plugin_key: &ExternalPluginAdapterKey,
) -> Result<(usize, usize), Error>
Expand description

Fetch the external plugin adapter data offset and length. These can be used to directly slice the account data for use of the external plugin adapter data.