solana_sdk::loader_v4

Function truncate

Source
pub fn truncate(
    program_address: &Pubkey,
    authority: &Pubkey,
    new_size: u32,
    recipient_address: &Pubkey,
) -> Instruction
Expand description

Returns the instructions required to set the length of the program account.