solana_program_runtime::stable_log

Function program_data

source
pub fn program_data(
    log_collector: &Option<Rc<RefCell<LogCollector>>>,
    data: &[&[u8]],
)
Expand description

Emit a program data.

The general form is:

"Program data: <binary-data-in-base64>*"

That is, any program-generated output is guaranteed to be prefixed by “Program data: “