Skip to main content

sol_set_return_data

Function sol_set_return_data 

Source
pub unsafe fn sol_set_return_data(data: *const u8, length: u64)
Expand description

Set CPI return data for the current instruction.

ยงSafety

data must be valid for length bytes.