[][src]Function safe_core::immutable_data::get_value

pub async fn get_value<'_>(
    client: &'_ impl Client + 'static,
    address: IDataAddress,
    position: Option<u64>,
    len: Option<u64>,
    decryption_key: Option<Key>
) -> Result<Vec<u8>, CoreError>

Get immutable data from the network and extract its value, decrypting it in the process (if keys provided). This combines get_idata in Client and extract_value in this module into one function.