solana_program::loader_v4

Function write

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

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