Function eei::ethereum_externalCodecodeCopy[][src]

pub unsafe extern "C" fn ethereum_externalCodecodeCopy(
    address_ptr: *const Address,
    result_ptr: *mut u8,
    code_offset: i32,
    length: i32
)
Expand description

Copy bytes of code into memory.

Arguments:

  • address_ptr: the acontract to copy code from
  • result_ptr: The pointer to memory where to put the code bytes.
  • code_offset: the offset in code bytes to begin copying bytes.
  • length: the number of bytes to copy.