Skip to main content

set_return_data

Function set_return_data 

Source
pub fn set_return_data(data: &[u8]) -> ProgramResult
Expand description

Set return data for the current instruction.

Makes data available to the calling program via get_return_data(). Maximum 1024 bytes per Solana runtime limits.