Function solana_program::bpf_loader_upgradeable::create_buffer[][src]

pub fn create_buffer(
    payer_address: &Pubkey,
    buffer_address: &Pubkey,
    authority_address: &Pubkey,
    lamports: u64,
    program_len: usize
) -> Result<Vec<Instruction>, InstructionError>

Returns the instructions required to initialize a Buffer account.