solana_sdk::bpf_loader_upgradeable

Function write

source
pub fn write(
    buffer_address: &Pubkey,
    authority_address: &Pubkey,
    offset: u32,
    bytes: Vec<u8>,
) -> Instruction
Expand description

Returns the instructions required to write a chunk of program data to a buffer account.