[−][src]Function eosio_cdt_sys::get_context_free_data
pub unsafe extern "C" fn get_context_free_data(
index: u32,
buff: *mut c_char,
size: usize
) -> c_int
Retrieve the signed_transaction.context_free_data[index].
@brief Retrieve the signed_transaction.context_free_data[index]. @param index - the index of the context_free_data entry to retrieve @param buff - output buff of the context_free_data entry @param size - amount of context_free_data[index] to retrieve into buff, 0 to report required size @return size copied, or context_free_data[index].size() if 0 passed for size, or -1 if index not valid