solana_bpf_loader_program::serialization

Function serialize_parameters

Source
pub fn serialize_parameters(
    transaction_context: &TransactionContext,
    instruction_context: &InstructionContext,
    copy_account_data: bool,
) -> Result<(AlignedMemory<HOST_ALIGN>, Vec<MemoryRegion>, Vec<SerializedAccountMetadata>), InstructionError>