Function concordium_std::prims::get_parameter_section
source · pub unsafe extern "C" fn get_parameter_section(
i: u32,
param_bytes: *mut u8,
length: u32,
offset: u32
) -> i32
Expand description
Write a section of the i
-th parameter to the given location. Return
the number of bytes written or -1
if the parameter does not exist.
The location is assumed to contain enough memory to
write the requested length into.