Skip to main content

serialize_parameters

Function serialize_parameters 

Source
pub fn serialize_parameters(
    instruction_context: &InstructionContext<'_, '_>,
    virtual_address_space_adjustments: bool,
    account_data_direct_mapping: bool,
    direct_account_pointers_in_program_input: bool,
) -> Result<(AlignedMemory<HOST_ALIGN>, Vec<MemoryRegion>, Vec<SerializedAccountMetadata>, usize), InstructionError>