pub fn resize_or_reallocate_account_raw<'a>(
    target_account: &AccountInfo<'a>,
    funding_account: &AccountInfo<'a>,
    system_program: &AccountInfo<'a>,
    new_size: usize
) -> Result<(), ProgramError>
Expand description

Resize an account using realloc, lifted from Solana Cookbook